結果

問題 No.304 鍵(1)
ユーザー square1001square1001
提出日時 2016-10-29 18:13:09
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 65 ms / 2,000 ms
コード長 290 bytes
コンパイル時間 2,898 ms
コンパイル使用メモリ 166,704 KB
実行使用メモリ 24,192 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 00:40:23
合計ジャッジ時間 2,494 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
23,796 KB
testcase_01 AC 30 ms
23,808 KB
testcase_02 AC 65 ms
24,024 KB
testcase_03 AC 30 ms
24,192 KB
testcase_04 AC 46 ms
24,012 KB
testcase_05 AC 29 ms
23,508 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
string f(int x) {
	string res = to_string(x);
	while(res.size() < 3) res = '0' + res;
	return res;
}
int main() {
	string res;
	for(int i = 0; i < 1000; i++) {
		cout << f(i) << endl;
		cin >> res;
		if(res == "unlocked") break;
	}
	return 0;
}
0