結果

問題 No.304 鍵(1)
ユーザー convexineq
提出日時 2021-01-13 03:44:05
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 140 ms / 2,000 ms
コード長 226 bytes
コンパイル時間 166 ms
コンパイル使用メモリ 82,124 KB
実行使用メモリ 82,968 KB
平均クエリ数 309.17
最終ジャッジ日時 2024-07-17 02:56:49
合計ジャッジ時間 1,410 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

def ask(t):
    print(t)
    sys.stdout.flush()    
    return input()
    
import sys
from itertools import product
s = "0123456789"
for lst in product(s,repeat=3):
    res = ask("".join(lst))
    if res == "unlocked": exit()
0