delete pics to save space
This commit is contained in:
15
history_source/ccf 入门篇/U5/5.2.2.cpp
Normal file
15
history_source/ccf 入门篇/U5/5.2.2.cpp
Normal file
@ -0,0 +1,15 @@
|
||||
#include<iostream>
|
||||
using namespace std;
|
||||
int main()
|
||||
{
|
||||
int d[10]={1,1,1,1,1,1,1,1,1,1};
|
||||
int a=-1;
|
||||
for(int i=1;i<=1000;i++)
|
||||
{
|
||||
a+=i;
|
||||
d[a%10]=0;
|
||||
}
|
||||
int i;
|
||||
for(i=0;i<10;i++) if(d[i]==1) cout<<i+1<<"<EFBFBD><EFBFBD> ";
|
||||
while(true);
|
||||
}
|
Reference in New Issue
Block a user