- 累计相加-GESP202306一级题二
你们谁会-GESP202306一级题二
- 2023-7-1 14:26:32 @
no!
11 comments
-
陈厚谕 LV 8 @ 2023-7-1 15:06:56
#include<bits/stdc++.h> using namespace std; int main() { int n,a=0,b=0; cin>>n; for(int i=1;i<=n;i++) { a+=i; b+=a; } cout<<b; }return 0;
-
2023-7-1 15:06:18@
#include<bits/stdc++.h> using namespace std; int main() { int n,a=0,b=0; cin>>n; for(int i=1;i<=n;i++) { a+=i; b+=a; } cout<<b; return 0; }
-
2023-7-1 15:03:45@
#include<bits/stdc++.h> using namespace std; int main() { int n,a=0,b=0; cin>>n; for(int i=1;i<=n;i++) { a+=i; b+=a; } cout<<b; return 0; }
-
2023-7-1 15:02:46@
#include<bits/stdc++.h> using namespace std; int main() { int n,a=0,b=0; cin>>n; for(int i=1;i<=n;i++) { a+=i; b+=a; } cout<<b; return 0; }
-
2023-7-1 14:54:53@
👍 👍 👍 👍 👍 🎉️ 🎉️ 😄 😄 ❤️ ❤️
-
2023-7-1 14:54:06@
#include <bits/stdc++.h> using namespace std; int main() { int n,a,b,c; cin>>n; a=n/100; b=n/10%10; c=n%10; cout<<a+b+c; return 0; }
-
2023-7-1 14:39:03@
😕 😕 👍
-
2023-7-1 14:33:07@
第一题谁会
-
2023-7-1 14:30:08@
😕
-
2023-7-1 14:27:52@
我第一题都不会
-
2023-7-1 14:27:37@
#include<bits/stdc++.h> using namespace std; int main() { int a; cin>>a; for(int a=0;) e=a+b; cout<<e; return 0; }
- 1
Information
- ID
- 726
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 7
- Tags
- # Submissions
- 89
- Accepted
- 27
- Uploaded By