結果

問題 No.305 鍵(2)
ユーザー gorugo30gorugo30
提出日時 2021-03-18 10:12:11
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 318 bytes
コンパイル時間 273 ms
コンパイル使用メモリ 87,048 KB
実行使用メモリ 95,696 KB
平均クエリ数 1.00
最終ジャッジ日時 2023-09-24 10:15:10
合計ジャッジ時間 5,880 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
権限があれば一括ダウンロードができます

ソースコード

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