結果

問題 No.305 鍵(2)
ユーザー gorugo30gorugo30
提出日時 2021-03-18 10:14:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 70 ms / 2,000 ms
コード長 322 bytes
コンパイル時間 230 ms
コンパイル使用メモリ 81,220 KB
実行使用メモリ 70,224 KB
平均クエリ数 86.69
最終ジャッジ日時 2024-07-17 02:58:56
合計ジャッジ時間 2,034 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

ans = ""
for keta in range(10):
    maxi = -1
    maxx = -1
    for i in range(10):
        print(ans + str(i) + "0" * (10 - keta - 1), flush = True)
        x, m = input().split()
        x = int(x)
        if x == 10:
            exit()
        if x > maxx:
            maxx = x
            maxi = i
    ans += str(maxi)
0