結果

問題 No.304 鍵(1)
ユーザー konabekonabe
提出日時 2018-06-11 15:11:35
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 86 ms / 2,000 ms
コード長 204 bytes
コンパイル時間 74 ms
コンパイル使用メモリ 10,560 KB
実行使用メモリ 24,372 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 01:47:59
合計ジャッジ時間 1,091 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 43 ms
23,560 KB
testcase_01 AC 46 ms
24,204 KB
testcase_02 AC 86 ms
24,084 KB
testcase_03 AC 43 ms
23,856 KB
testcase_04 AC 60 ms
23,360 KB
testcase_05 AC 39 ms
24,372 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

i = 0
while True:
    print("%03d"%i, flush=True)
    res = input()
    if res == "locked":
        i += 1
    elif res == "unlocked":
        break
    else:
        print("error occured!")
        
    
0