結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 AC 40 ms
24,288 KB
testcase_02 AC 40 ms
23,544 KB
testcase_03 AC 41 ms
24,024 KB
testcase_04 AC 40 ms
23,532 KB
testcase_05 AC 40 ms
23,424 KB
testcase_06 RE -
testcase_07 AC 40 ms
24,024 KB
testcase_08 AC 41 ms
24,324 KB
testcase_09 AC 40 ms
24,384 KB
testcase_10 AC 39 ms
23,736 KB
testcase_11 AC 40 ms
23,388 KB
testcase_12 AC 40 ms
24,036 KB
権限があれば一括ダウンロードができます

ソースコード

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)])
0