EasyRating 800
Warmer Than Yesterday
Count the days that were warmer than the day before.
Input
n, then n temperatures.
Output
One integer.
Sample 1
Input
6 20 22 21 25 25 30
Output
3
Sample 2
Input
1 30
Output
0
Output appears heren, then n temperatures.
One integer.
6 20 22 21 25 25 30
3
1 30
0
Output appears here