結果

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

テストケース

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

ソースコード

diff #

#include <iostream>

using namespace std;

int main()
{
	int i;

	do
	{
		cout << i << endl;
		++i;
	}
	while(getchar() == 'l');

	return 0;
}
0