結果

問題 No.304 鍵(1)
ユーザー umaumaxumaumax
提出日時 2017-05-02 03:18:02
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 276 bytes
コンパイル時間 1,576 ms
コンパイル使用メモリ 61,684 KB
実行使用メモリ 24,384 KB
平均クエリ数 833.50
最終ジャッジ日時 2023-09-23 13:15:14
合計ジャッジ時間 2,241 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 27 ms
24,084 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iomanip>
#include <iostream>

using namespace std;

int main(int argc, char* argv[])
{
	int n = 0;
	string s;
	cout << setfill('0') << setw(3);
	for (int n = 0; n <= 999; n++) {
		cout << n << endl << flush;
		cin >> s;
		if (s == "unlocked") break;
	}
	return 0;
}
0