結果

問題 No.305 鍵(2)
ユーザー ynyn
提出日時 2015-11-27 23:23:10
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 504 bytes
コンパイル時間 85 ms
コンパイル使用メモリ 10,860 KB
実行使用メモリ 24,480 KB
平均クエリ数 66.69
最終ジャッジ日時 2023-09-23 06:48:20
合計ジャッジ時間 1,850 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 50 ms
24,336 KB
testcase_01 AC 42 ms
23,780 KB
testcase_02 AC 44 ms
23,648 KB
testcase_03 AC 41 ms
24,256 KB
testcase_04 AC 42 ms
23,924 KB
testcase_05 AC 44 ms
24,480 KB
testcase_06 RE -
testcase_07 AC 45 ms
23,820 KB
testcase_08 AC 43 ms
23,900 KB
testcase_09 AC 42 ms
23,856 KB
testcase_10 AC 42 ms
23,992 KB
testcase_11 AC 43 ms
24,000 KB
testcase_12 AC 43 ms
24,120 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
count = 0
num = ["0"]*10

print("".join(num))
sys.stdout.flush()
s = list(map(str,input().split()))
count = int(s[0])

for i in range(10):
    for j in range(10):
        num[i] = str(j)
        print("".join(num))
        sys.stdout.flush()
        s = list(map(str,input().split()))
        if int(s[0]) == 10:
            exit()
        if int(s[0]) == count:
            continue
        if int(s[0]) > count:
            count = int(s[0])
            break
        num[i] = str(0)

exit()
0