結果

問題 No.304 鍵(1)
ユーザー kurenaifkurenaif
提出日時 2016-05-31 18:11:01
言語 C++11
(gcc 11.4.0)
結果
AC  
実行時間 61 ms / 2,000 ms
コード長 238 bytes
コンパイル時間 352 ms
コンパイル使用メモリ 51,184 KB
実行使用メモリ 24,312 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 00:01:32
合計ジャッジ時間 1,254 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 27 ms
23,640 KB
testcase_01 AC 30 ms
24,024 KB
testcase_02 AC 61 ms
23,844 KB
testcase_03 AC 29 ms
23,388 KB
testcase_04 AC 47 ms
24,024 KB
testcase_05 AC 28 ms
24,312 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>
#include <cstdio>

using namespace std;

int main(void) {
	for (int i = 0; i < 1000; ++i) {
		printf("%03d\n", i);
		string str; cin >> str;
		if (str == "unlocked") {
			return 0;
		}
	}
	return 0;
}
0