結果

問題 No.305 鍵(2)
ユーザー tabataba
提出日時 2016-04-15 02:29:51
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 311 bytes
コンパイル時間 74 ms
コンパイル使用メモリ 6,488 KB
実行使用メモリ 24,504 KB
平均クエリ数 7.15
最終ジャッジ日時 2023-09-23 10:23:40
合計ジャッジ時間 4,061 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 TLE -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
def maxindex(x):
	return max(enumerate(x),key=lambda x:x[1])[0]
def q(s):
	print s
	sys.stdout.flush()
	return int(raw_input().split()[0])
print"".join(`maxindex(i)`for i in[[q("{0:0>10}".format(j*(10**i)))for j in range(10)]for i in range(9,-1,-1)])
if int(raw_input().split()[0])!=10:
	while 1:pass
0