Toggle navigation
Sky Online Judge
Problems
Challenges
Contest
Tools
Coder
Scoreboard
Code
Dev Message
Discuss
Make-A-Wish
LOGIN
上傳編號
121162
上傳時間
2021-04-08 08:34:56
題目
[練習題]西格馬嗯
使用者
anonymous
總得分
100,
Accepted
AC
in 310 ms
#
State
Runtime
Memory
0
Accepted
AC
0
393216
1
Accepted
AC
0
376832
2
Accepted
AC
0
393216
3
Accepted
AC
310
385024
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include<iostream>
using namespace std;
int main() {
int n;
long long x=0;
cin >> n;
for(int i=1; i<=n; i++){
x=x+i;
}
cout << x << '\n';
return 0;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX