結果

問題 No.304 鍵(1)
ユーザー DrafearDrafear
提出日時 2016-01-18 22:04:03
言語 C++11
(gcc 11.4.0)
結果
AC  
実行時間 58 ms / 2,000 ms
コード長 308 bytes
コンパイル時間 1,142 ms
コンパイル使用メモリ 144,444 KB
実行使用メモリ 23,952 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-23 23:06:15
合計ジャッジ時間 2,181 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 27 ms
23,820 KB
testcase_01 AC 30 ms
23,400 KB
testcase_02 AC 58 ms
23,664 KB
testcase_03 AC 26 ms
23,508 KB
testcase_04 AC 41 ms
23,472 KB
testcase_05 AC 25 ms
23,952 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main() {
	for (char a = '0'; a <= '9'; ++a) {
		for (char b = '0'; b <= '9'; ++b) {
			for (char c = '0'; c <= '9'; ++c) {
				cout << a << b << c << endl;
				string result; cin >> result;
				if (result == "unlocked") {
					exit(0);
				}
			}
		}
	}
}
0