結果

問題 No.304 鍵(1)
ユーザー nnasennnasen
提出日時 2017-10-02 03:46:46
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 62 ms / 2,000 ms
コード長 490 bytes
コンパイル時間 1,797 ms
コンパイル使用メモリ 162,584 KB
実行使用メモリ 24,288 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 01:33:11
合計ジャッジ時間 2,334 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
23,616 KB
testcase_01 AC 30 ms
23,976 KB
testcase_02 AC 62 ms
24,252 KB
testcase_03 AC 30 ms
23,964 KB
testcase_04 AC 45 ms
24,288 KB
testcase_05 AC 29 ms
24,240 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#define _USE_MATH_DEFINES
#include <bits/stdc++.h>
#define FOR(i,a,b) for(int i = (a); i < (b); ++i)
#define REP(i,n) FOR(i,0,n)
#define SZ(n) (int)(n).size()
#define ALL(n) (n).begin(), (n).end()
#define MOD 1000000007
using namespace std;
typedef long long LL;
typedef vector<int> VI;

int main() {
	char re[10];
	REP(i, 10) {
		REP(j, 10) {
			REP(k, 10) {
				printf("%d%d%d\n", i, j, k);
				fflush(stdout);
				scanf("%s", re);
				if (re[0] == 'u') return 0;
			}
		}
	}
	return 0;
}
0