結果

問題 No.305 鍵(2)
ユーザー lllllll88938494lllllll88938494
提出日時 2023-05-09 13:55:54
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 447 bytes
コンパイル時間 248 ms
コンパイル使用メモリ 87,140 KB
実行使用メモリ 94,928 KB
平均クエリ数 42.69
最終ジャッジ日時 2023-08-17 06:34:12
合計ジャッジ時間 3,448 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 96 ms
87,328 KB
testcase_01 AC 94 ms
87,024 KB
testcase_02 AC 95 ms
87,260 KB
testcase_03 AC 93 ms
87,092 KB
testcase_04 AC 94 ms
71,472 KB
testcase_05 RE -
testcase_06 RE -
testcase_07 AC 104 ms
87,264 KB
testcase_08 AC 103 ms
87,476 KB
testcase_09 AC 108 ms
87,056 KB
testcase_10 AC 114 ms
87,100 KB
testcase_11 AC 111 ms
87,520 KB
testcase_12 AC 105 ms
87,460 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ans=[-1]*10
for i in range(10):
    t= [str(i) for _ in range(10)]
    print(''.join(t),flush=True)
    x,s=input().split()
    x=int(x)
    for j in range(10):
        t[j] = str((i+1)%10)
        print(''.join(t),flush=True)
        y,s=input().split()
        y=int(y)
        
        if x>y:     
            ans[j] = str(i)
        x = y

            
# print(ans)            
print(''.join(ans),flush=True)
z,s=input().split()

            
0