結果

問題 No.305 鍵(2)
ユーザー TawaraTawara
提出日時 2015-11-29 20:38:17
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 250 bytes
コンパイル時間 132 ms
コンパイル使用メモリ 6,696 KB
実行使用メモリ 24,384 KB
平均クエリ数 92.77
最終ジャッジ日時 2023-09-23 08:11:42
合計ジャッジ時間 2,086 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 AC 40 ms
23,580 KB
testcase_02 AC 40 ms
24,312 KB
testcase_03 AC 41 ms
24,324 KB
testcase_04 AC 41 ms
23,316 KB
testcase_05 AC 40 ms
23,988 KB
testcase_06 RE -
testcase_07 AC 40 ms
24,336 KB
testcase_08 AC 39 ms
23,976 KB
testcase_09 AC 40 ms
24,228 KB
testcase_10 AC 40 ms
24,312 KB
testcase_11 AC 40 ms
23,484 KB
testcase_12 AC 41 ms
23,340 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
ans = [-1]*10
for i in xrange(10):
	tmp = 0
	for j in xrange(10):
		print "0"*i+str(j)+"0"*(9-i)
		sys.stdout.flush()
		X,L = raw_input().split()
		X = int(X)
		if X > tmp: tmp = X; ans[i] = j
print "".join(map(str,ans))
sys.stdout.flush()
0