結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 AC 44 ms
23,804 KB
testcase_02 AC 44 ms
24,168 KB
testcase_03 AC 44 ms
23,880 KB
testcase_04 AC 44 ms
24,212 KB
testcase_05 AC 45 ms
24,004 KB
testcase_06 RE -
testcase_07 AC 43 ms
24,028 KB
testcase_08 AC 46 ms
23,988 KB
testcase_09 AC 43 ms
24,108 KB
testcase_10 AC 45 ms
24,492 KB
testcase_11 AC 45 ms
24,116 KB
testcase_12 AC 45 ms
24,320 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(1,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