結果

問題 No.305 鍵(2)
ユーザー gorugo30
提出日時 2021-03-18 10:12:11
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 318 bytes
コンパイル時間 144 ms
コンパイル使用メモリ 82,368 KB
実行使用メモリ 83,616 KB
平均クエリ数 1.00
最終ジャッジ日時 2024-07-17 11:04:12
合計ジャッジ時間 3,615 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

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