結果
問題 |
No.305 鍵(2)
|
ユーザー |
![]() |
提出日時 | 2016-04-15 02:40:03 |
言語 | Python2 (2.7.18) |
結果 |
RE
|
実行時間 | - |
コード長 | 335 bytes |
コンパイル時間 | 216 ms |
コンパイル使用メモリ | 7,068 KB |
実行使用メモリ | 25,488 KB |
平均クエリ数 | 85.85 |
最終ジャッジ日時 | 2024-07-16 09:55:48 |
合計ジャッジ時間 | 2,161 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 RE * 2 |
ソースコード
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]) a=[[]for i in[0]*10] for i in range(10): for j in range(10): s="{0:0>10}".format(j*(10**i)) r=q(s) a[i]+=[r] #print a a=[maxindex(i)for i in a][::-1] print "".join(`i`for i in a)