Bulgaria_Azis
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
求助:为什么只有60分? // luogu-judger-enable-o2 #include using namespace std; int p[1005]; void GetPrime() { for(int i=2;i >n; int maxnum=0; GetPrime(); for(int i=2;i<n;…
在讨论《求助,为什么错了》回复:
以上为AC代码
在讨论《求助,为什么错了》回复:
直接给你看答案:#include using namespace std; int main() { int a,b; int count=0; cin>>a>>b; for(int i=a;i 0) { if(n%10==2) count++; n/=10; } } cout<<count; return 0; }
在讨论《此处不需用数组》回复:
Thank you.
//exam4.36 #include using namespace std; int main() { int s1,s2; int day=0; int max=8; int i; for(i=1;i >s1>>s2; if(s1+s2>max) { max=s1+s2; day=i; } } if(max>8)…