Submission #00001
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #include<bits/stdc++.h> #define mset multiset #define unset unordered_set #define ll long long #define endl "\n"; #define prg_queue priority_queue <int,vector<int>,greater<int> #define pr_queue priority_queue <int> #define upper upper_bound #define lower lower_bound using namespace std; int main(){ ll a=0,b=0,c=0,d=0,e=0; cin >>a; for ( int o=0; o<=a; o++){ e+=o; } cout <<e<<endl return 0; } |
ステータス
項目 | データ |
---|---|
問題 | 0001 - バイトテロユタカ |
ユーザー名 | SnakyZoo8277089 |
投稿日時 | 2024-07-18 13:31:02 |
言語 | C++17 |
状態 | Accepted |
得点 | 10 |
ソースコード長 | 443 Byte |
最大実行時間 | 28 ms |
最大メモリ使用量 | 492 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 10 / 10 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
in1.txt | AC | 28 ms | 476 KB |
1
|
in2.txt | AC | 21 ms | 448 KB |
1
|
in3.txt | AC | 19 ms | 420 KB |
1
|
in4.txt | AC | 24 ms | 392 KB |
1
|
insample1.txt | AC | 22 ms | 492 KB |
1
|
insample2.txt | AC | 19 ms | 464 KB |
1
|
insample3.txt | AC | 21 ms | 436 KB |
1
|