結果
| 問題 |
No.304 鍵(1)
|
| ユーザー |
mizuyoukannKB
|
| 提出日時 | 2016-04-03 13:58:17 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 179 bytes |
| コンパイル時間 | 499 ms |
| コンパイル使用メモリ | 53,116 KB |
| 実行使用メモリ | 25,604 KB |
| 平均クエリ数 | 1.00 |
| 最終ジャッジ日時 | 2024-07-16 09:40:09 |
| 合計ジャッジ時間 | 2,380 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 5 |
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:15:17: warning: ‘i’ may be used uninitialized in this function [-Wmaybe-uninitialized]
15 | ++i;
| ^~~
ソースコード
#include <iostream>
using namespace std;
int main()
{
int i;
char str[9];
do
{
printf("%03d\n", i);
cout.flush();
++i;
} while(scanf("%s", str) == 6);
return 0;
}
mizuyoukannKB