結果

問題 No.304 鍵(1)
ユーザー kurenaif
提出日時 2016-05-31 18:11:01
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 61 ms / 2,000 ms
コード長 238 bytes
コンパイル時間 516 ms
コンパイル使用メモリ 56,672 KB
実行使用メモリ 25,196 KB
平均クエリ数 309.17
最終ジャッジ日時 2024-07-16 23:52:04
合計ジャッジ時間 1,362 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

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