結果

問題 No.304 鍵(1)
ユーザー GrayCoderGrayCoder
提出日時 2023-06-17 18:31:46
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 86 ms / 2,000 ms
コード長 359 bytes
コンパイル時間 392 ms
コンパイル使用メモリ 10,612 KB
実行使用メモリ 24,288 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-07 14:42:36
合計ジャッジ時間 2,131 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
24,264 KB
testcase_01 AC 46 ms
23,984 KB
testcase_02 AC 86 ms
23,596 KB
testcase_03 AC 43 ms
24,176 KB
testcase_04 AC 63 ms
23,728 KB
testcase_05 AC 45 ms
24,288 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from itertools import product
import sys


def main():
    sys.setrecursionlimit(100000)
    input = lambda: sys.stdin.readline()[:-1]
    for a in product("0123456789", repeat=3):
        print("".join(a), flush=1)
        s = input()
        if s == "unlocked":
            break


if not __debug__:
    f = open(sys.argv[1], "r")
    sys.stdin = f

main()
0