結果
問題 |
No.305 鍵(2)
|
ユーザー |
![]() |
提出日時 | 2015-11-27 23:09:12 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 490 bytes |
コンパイル時間 | 86 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 28,248 KB |
平均クエリ数 | 50.69 |
最終ジャッジ日時 | 2024-07-16 06:41:40 |
合計ジャッジ時間 | 1,834 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 RE * 1 |
ソースコード
# coding:utf-8 import random def main(): # a = str(random.randint(0,9999999999)).zfill(10) a = '1234567890' print(a) score, _ = input().split() for i in range(10): for j in range(10): print(a[:i]+str(j)+a[i+1:]) score2, s = input().split() if s == 'unlocked': return if int(score) < int(score2): a = a[:i]+str(j)+a[i+1:] score = score2 break main()