- 历届试题 核桃的数量
g
- 2024-2-24 19:37:33 @
include <bits/stdc++.h>
using namespace std;
int main()
{
int a=0;
for(int i=1;i<=100;i++)
{
if(i%2==1)
{
a=a+i;
}
}
cout<<a;
return 0;
}
0 comments
No comments so far...
Information
- ID
- 640
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 7
- Tags
- # Submissions
- 33
- Accepted
- 10
- Uploaded By