結果

問題 No.305 鍵(2)
ユーザー gorugo30gorugo30
提出日時 2021-03-18 10:14:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 103 ms / 2,000 ms
コード長 322 bytes
コンパイル時間 285 ms
コンパイル使用メモリ 87,052 KB
実行使用メモリ 87,596 KB
平均クエリ数 86.69
最終ジャッジ日時 2023-09-24 02:53:17
合計ジャッジ時間 2,669 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 103 ms
86,876 KB
testcase_01 AC 103 ms
87,164 KB
testcase_02 AC 98 ms
87,268 KB
testcase_03 AC 97 ms
87,356 KB
testcase_04 AC 101 ms
87,108 KB
testcase_05 AC 99 ms
87,460 KB
testcase_06 AC 94 ms
87,200 KB
testcase_07 AC 101 ms
87,144 KB
testcase_08 AC 101 ms
87,468 KB
testcase_09 AC 100 ms
87,444 KB
testcase_10 AC 99 ms
87,044 KB
testcase_11 AC 100 ms
86,620 KB
testcase_12 AC 100 ms
87,596 KB
権限があれば一括ダウンロードができます

ソースコード

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