結果

問題 No.305 鍵(2)
ユーザー lloyzlloyz
提出日時 2023-03-02 20:07:25
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 56 ms / 2,000 ms
コード長 357 bytes
コンパイル時間 171 ms
コンパイル使用メモリ 11,896 KB
実行使用メモリ 26,464 KB
平均クエリ数 93.23
最終ジャッジ日時 2023-10-17 16:18:14
合計ジャッジ時間 3,107 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 55 ms
26,464 KB
testcase_01 AC 53 ms
26,464 KB
testcase_02 AC 52 ms
26,464 KB
testcase_03 AC 54 ms
26,464 KB
testcase_04 AC 53 ms
26,464 KB
testcase_05 AC 53 ms
26,464 KB
testcase_06 AC 50 ms
26,360 KB
testcase_07 AC 54 ms
26,464 KB
testcase_08 AC 54 ms
26,464 KB
testcase_09 AC 53 ms
26,464 KB
testcase_10 AC 54 ms
26,464 KB
testcase_11 AC 55 ms
26,464 KB
testcase_12 AC 56 ms
26,464 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ANS = [0 for _ in range(10)]
D = [[0 for _ in range(10)] for _ in range(10)]

for i in range(10):
    for j in range(10):
        ANS[i] = j
        print(*ANS, sep='')
        Q = list(input().split())
        if Q[1] == "unlocked":
            exit()
        D[i][j] = int(Q[0])

for i in range(10):
    ANS[i] = D[i].index(max(D[i]))
print(*ANS, sep='')
0