結果

問題 No.304 鍵(1)
ユーザー r_ishida
提出日時 2025-07-29 08:19:57
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 101 ms / 2,000 ms
コード長 437 bytes
コンパイル時間 297 ms
コンパイル使用メモリ 12,288 KB
実行使用メモリ 27,392 KB
平均クエリ数 309.17
最終ジャッジ日時 2025-07-29 08:19:59
合計ジャッジ時間 1,769 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
import sys
def S(): return sys.stdin.readline().rstrip()
def I(): return int(sys.stdin.readline().rstrip())
def MI(): return map(int, sys.stdin.readline().rstrip().split())
def LI(): return list(map(int, sys.stdin.readline().rstrip().split()))
def LS(): return list(sys.stdin.readline().rstrip().split())

cnt = 0

while True:
    print("%03d" % cnt, flush=True)
    s = S()
    if s == "unlocked":
        break
    cnt += 1
0