結果

問題 No.305 鍵(2)
ユーザー 👑 KazunKazun
提出日時 2020-09-14 02:51:10
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 100 ms / 2,000 ms
コード長 357 bytes
コンパイル時間 1,005 ms
コンパイル使用メモリ 86,720 KB
実行使用メモリ 87,540 KB
平均クエリ数 92.62
最終ジャッジ日時 2023-09-24 02:45:39
合計ジャッジ時間 2,981 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 90 ms
87,000 KB
testcase_01 AC 93 ms
86,900 KB
testcase_02 AC 93 ms
86,780 KB
testcase_03 AC 93 ms
86,900 KB
testcase_04 AC 95 ms
86,724 KB
testcase_05 AC 100 ms
87,100 KB
testcase_06 AC 84 ms
87,372 KB
testcase_07 AC 86 ms
87,540 KB
testcase_08 AC 87 ms
87,040 KB
testcase_09 AC 93 ms
87,120 KB
testcase_10 AC 88 ms
87,088 KB
testcase_11 AC 88 ms
86,940 KB
testcase_12 AC 97 ms
86,728 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=""
for k in range(10):
    T=T+str(Question(k))

print(T)
_=Answer()
0