結果

問題 No.305 鍵(2)
ユーザー ああいいああいい
提出日時 2021-12-06 23:03:14
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 344 bytes
コンパイル時間 82 ms
コンパイル使用メモリ 10,508 KB
実行使用メモリ 24,216 KB
平均クエリ数 84.31
最終ジャッジ日時 2023-09-24 03:01:18
合計ジャッジ時間 1,683 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 44 ms
24,216 KB
testcase_01 AC 43 ms
24,216 KB
testcase_02 AC 42 ms
23,664 KB
testcase_03 AC 42 ms
23,412 KB
testcase_04 AC 39 ms
24,084 KB
testcase_05 AC 39 ms
23,600 KB
testcase_06 AC 35 ms
24,044 KB
testcase_07 AC 38 ms
23,780 KB
testcase_08 AC 37 ms
23,688 KB
testcase_09 AC 38 ms
23,916 KB
testcase_10 AC 37 ms
23,664 KB
testcase_11 AC 38 ms
23,684 KB
testcase_12 AC 39 ms
23,640 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

a = ['0'] * 10
print('0' * 10)
X,S = input().split()
X = int(X)
if S == 'unlocked':exit()

for i in range(10):
    for j in range(1,10):
        print('0' * i + str(j) + '0' * (9-i))
        x,s = input().split()
        if s == 'unlocked':exit()
        x = int(x)
        if x == X + 1:
            a[i] = str(j)
print(''.join(a))
0