Submission #78303


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
#include<stdio.h>
int main(){
long long x,y,z;
y=1;
z=0;
scanf("%lld",&x);
while(x>=y){
z+=y;
y++;
}
printf("%lld\n",z);
}

ステータス

項目 データ
問題 1765 - バイトテロユタカ
ユーザー名 yu184743
投稿日時 2024-04-23 17:20:55
言語 C
状態 Accepted
得点 3
ソースコード長 177 Byte
最大実行時間 29 ms
最大メモリ使用量 544 KB

セット

セット 得点 Cases
1 ALL 3 / 3 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
in1.txt AC 23 ms 504 KB
1
in2.txt AC 29 ms 532 KB
1
in3.txt AC 16 ms 372 KB
1
in4.txt AC 20 ms 384 KB
1
insample1.txt AC 20 ms 440 KB
1
insample2.txt AC 19 ms 492 KB
1
insample3.txt AC 29 ms 544 KB
1