結果

問題 No.304 鍵(1)
ユーザー mizuyoukannKBmizuyoukannKB
提出日時 2016-04-03 11:50:24
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 161 bytes
コンパイル時間 405 ms
コンパイル使用メモリ 50,480 KB
実行使用メモリ 24,504 KB
平均クエリ数 1.83
最終ジャッジ日時 2023-09-23 10:11:49
合計ジャッジ時間 2,060 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
24,024 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:14:3: warning: ‘i’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   ++i;
   ^~~

ソースコード

diff #

#include <iostream>

using namespace std;

int main()
{
	int i;

	do
	{
		printf("%03d\n", i);
		cout.flush();

		++i;
	}
	while(getchar() == 'l');

	return 0;
}
0