結果
問題 | No.305 鍵(2) |
ユーザー |
|
提出日時 | 2015-11-29 14:15:57 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 453 bytes |
コンパイル時間 | 239 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 27,608 KB |
平均クエリ数 | 69.85 |
最終ジャッジ日時 | 2024-07-16 07:59:59 |
合計ジャッジ時間 | 2,121 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 WA * 1 |
ソースコード
def func(n): s = "0" * 10 print(s) base, _ = input().split() for i in range(1, 10): print(s[:n] + str(i) + s[n + 1:]) x, _ = input().split() if int(x) > int(base): return i return 0 def main(): print("0" * 10) if "unlocked" in input(): return ans = "" for i in range(10): ans += str(func(i)) print(ans) if __name__ == '__main__': main()