結果

問題 No.305 鍵(2)
ユーザー 👑 KazunKazun
提出日時 2020-09-14 02:49:35
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 354 bytes
コンパイル時間 302 ms
コンパイル使用メモリ 87,012 KB
実行使用メモリ 94,844 KB
平均クエリ数 92.62
最終ジャッジ日時 2023-09-24 06:39:01
合計ジャッジ時間 2,876 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 95 ms
86,852 KB
testcase_01 AC 92 ms
86,448 KB
testcase_02 AC 92 ms
86,676 KB
testcase_03 AC 92 ms
87,292 KB
testcase_04 AC 89 ms
86,912 KB
testcase_05 AC 89 ms
87,676 KB
testcase_06 AC 82 ms
86,848 KB
testcase_07 RE -
testcase_08 AC 86 ms
86,564 KB
testcase_09 AC 87 ms
86,716 KB
testcase_10 AC 92 ms
87,304 KB
testcase_11 AC 96 ms
87,596 KB
testcase_12 AC 91 ms
87,268 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def Question(k):
    M=-1
    Y=-1
    for i in range(10):
        print("0"*k+str(i)+"0"*(9-k))
        A=Answer()

        if Y<A:
            M=i
            Y=A
    return M

def Answer():
    X,_=input().split()
    X=int(X)
    if X==10:
        exit()
    else:
        return X

T=0
for k in range(10):
    T=10*T+Question(k)

print(T)
_=Answer()
0