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