結果
問題 |
No.305 鍵(2)
|
ユーザー |
|
提出日時 | 2015-11-29 14:08:44 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 383 bytes |
コンパイル時間 | 115 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 27,736 KB |
平均クエリ数 | 69.00 |
最終ジャッジ日時 | 2024-07-16 08:00:01 |
合計ジャッジ時間 | 2,047 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 WA * 1 RE * 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(): ans = "" for i in range(10): ans += str(func(i)) print(ans) if __name__ == '__main__': main()