delete pics to save space
This commit is contained in:
16
history_source/信息学奥赛一本通/1.4.1.19.cpp
Normal file
16
history_source/信息学奥赛一本通/1.4.1.19.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
#include<cstdio>
|
||||
using namespace std;
|
||||
int main()
|
||||
{
|
||||
int n,ans=0;
|
||||
scanf("%d",&n);
|
||||
for(int i=0;i<n;i++)
|
||||
{
|
||||
int x;
|
||||
scanf("%d",&x);
|
||||
if(x%10-(x/10)%10-(x/100)%10-x/1000>0) ans++;
|
||||
}
|
||||
printf("%d\n",ans);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user