結果

問題 No.304 鍵(1)
ユーザー th90tk297th90tk297
提出日時 2017-12-16 10:51:48
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 54 ms / 2,000 ms
コード長 297 bytes
コンパイル時間 477 ms
コンパイル使用メモリ 67,904 KB
実行使用メモリ 24,300 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 01:37:14
合計ジャッジ時間 1,473 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
23,388 KB
testcase_01 AC 24 ms
23,952 KB
testcase_02 AC 54 ms
23,940 KB
testcase_03 AC 24 ms
23,664 KB
testcase_04 AC 37 ms
23,952 KB
testcase_05 AC 26 ms
24,300 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<string>
using namespace std;
int main() {
	for (char i = '0'; i <= '9'; i++) {
		for (char j = '0'; j <= '9'; j++) {
			for (char k = '0'; k <= '9'; k++) {
				cout << i << j << k << endl << flush;
				string s;
				cin >> s;
				if (s[0] == 'u')return 0;
			}
		}
	}
}
0