結果

問題 No.305 鍵(2)
ユーザー matsu7874matsu7874
提出日時 2015-11-29 15:58:59
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 385 bytes
コンパイル時間 799 ms
コンパイル使用メモリ 10,772 KB
実行使用メモリ 24,424 KB
平均クエリ数 93.69
最終ジャッジ日時 2023-09-23 08:11:09
合計ジャッジ時間 2,344 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 AC 42 ms
24,292 KB
testcase_02 AC 43 ms
24,040 KB
testcase_03 AC 44 ms
23,972 KB
testcase_04 AC 43 ms
23,764 KB
testcase_05 AC 44 ms
24,360 KB
testcase_06 RE -
testcase_07 AC 46 ms
24,264 KB
testcase_08 AC 45 ms
24,280 KB
testcase_09 AC 45 ms
23,992 KB
testcase_10 AC 44 ms
23,976 KB
testcase_11 AC 43 ms
23,984 KB
testcase_12 AC 43 ms
24,424 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
answer = ['0']*10

print('0'*10)
sys.stdout.flush()
zero, lock = input().split()
zero = int(zero)

for i in range(10):
    for j in range(10):
        print('0'*i+str(j)+'0'*(9-i))
        sys.stdout.flush()
        x, lock = input().split()
        if int(x) > zero:
            answer[i] = str(j)
print(''.join(answer))
sys.stdout.flush()
x, lock = input().split()
exit()
0