結果

問題 No.305 鍵(2)
ユーザー rlangevinrlangevin
提出日時 2023-01-14 14:16:38
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 111 ms / 2,000 ms
コード長 395 bytes
コンパイル時間 265 ms
コンパイル使用メモリ 87,124 KB
実行使用メモリ 91,872 KB
平均クエリ数 93.23
最終ジャッジ日時 2023-09-24 03:08:34
合計ジャッジ時間 2,823 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 111 ms
91,352 KB
testcase_01 AC 105 ms
91,872 KB
testcase_02 AC 106 ms
91,728 KB
testcase_03 AC 105 ms
91,400 KB
testcase_04 AC 105 ms
90,984 KB
testcase_05 AC 102 ms
91,144 KB
testcase_06 AC 93 ms
87,216 KB
testcase_07 AC 104 ms
91,484 KB
testcase_08 AC 103 ms
91,488 KB
testcase_09 AC 106 ms
91,564 KB
testcase_10 AC 103 ms
91,572 KB
testcase_11 AC 104 ms
91,548 KB
testcase_12 AC 104 ms
91,496 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

ans = [0] * 10
D = [[0] * 10 for i in range(10)]

for i in range(10):
    for j in range(10):
        ans[i] = j
        print(*ans, sep="")
        sys.stdout.flush()
        Q = 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="")
sys.stdout.flush()
exit()
0