下面代码只得了50分
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc = new Scanner(System.in);
int size = sc.nextInt();
int day = 1, max = 0;
int a = sc.nextInt();
for (int i = 0; i < size - 1; i++) {
int b = sc.nextInt();
if (a < b) {
day++;
} else {
max = max > day ? max : day;
day = 1;
}
a=b;
}
System.out.println(max);
}
}