結果
問題 | No.305 鍵(2) |
ユーザー |
![]() |
提出日時 | 2016-04-15 02:42:59 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 37 ms / 2,000 ms |
コード長 | 357 bytes |
コンパイル時間 | 98 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 25,232 KB |
平均クエリ数 | 85.69 |
最終ジャッジ日時 | 2024-07-16 23:38:06 |
合計ジャッジ時間 | 1,804 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 13 |
ソースコード
import sysdef maxindex(x):return max(enumerate(x),key=lambda x:x[1])[0]def q(s):print ssys.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)if r==10:exit()a[i]+=[r]#print aa=[maxindex(i)for i in a][::-1]print "".join(`i`for i in a)