Johnnyzheng @ 2017-01-17 21:21:27
#include<iostream>
using namespace std;
int main()
{
int n[10001],total=0;
for(int i=1;i<=10;i++)
{
cin<<n[i];
}
for(int i=2;i<=10;i++)
{
if(n[i]>n[i-1])
total++;
}
cout<<total<<endl;
return 0;
}
by LouisXVI @ 2017-01-17 21:29:33
你打的cin后面双大于还是双小于啊?
by Johnnyzheng @ 2017-01-18 21:20:55
哦,我发现了,谢谢啊!