結果
| 問題 | No.480 合計 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-04-15 07:18:43 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 88 bytes |
| 記録 | |
| コンパイル時間 | 257 ms |
| コンパイル使用メモリ | 33,664 KB |
| 実行使用メモリ | 6,144 KB |
| 最終ジャッジ日時 | 2026-03-13 20:31:13 |
| 合計ジャッジ時間 | 1,048 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 22 |
コンパイルメッセージ
main.cpp: In function 'int main()':
main.cpp:5:17: warning: 'N' is used uninitialized [-Wuninitialized]
5 | while(N != 0){
| ~~^~~~
main.cpp:2:13: note: 'N' was declared here
2 | int N;
| ^
ソースコード
int main() {
int N;
int buff = 0;
while(N != 0){
buff += N;
N--;
}
return 0;
}