結果
問題 | No.305 鍵(2) |
ユーザー |
![]() |
提出日時 | 2015-11-27 23:38:40 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 40 ms / 2,000 ms |
コード長 | 417 bytes |
コンパイル時間 | 124 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 25,232 KB |
平均クエリ数 | 85.69 |
最終ジャッジ日時 | 2024-07-16 21:51:04 |
合計ジャッジ時間 | 1,569 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 13 |
ソースコード
import syscode = []for i in xrange(10):digits = []for j in xrange(10):ans = j * 10**iprint str(ans).zfill(10)sys.stdout.flush()X = raw_input().split()X = int(X[0])if X == 10:exit()else:digits.append(X)n = digits.index(max(digits))code.append(n)code = code[::-1]code = map(str, code)print ''.join(code)