結果

問題 No.304 鍵(1)
ユーザー papinianuspapinianus
提出日時 2016-07-28 12:42:22
言語 PHP
(8.3.4)
結果
AC  
実行時間 77 ms / 2,000 ms
コード長 157 bytes
コンパイル時間 1,294 ms
コンパイル使用メモリ 18,440 KB
実行使用メモリ 35,052 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 00:23:27
合計ジャッジ時間 2,594 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
34,348 KB
testcase_01 AC 44 ms
34,892 KB
testcase_02 AC 77 ms
34,300 KB
testcase_03 AC 43 ms
34,804 KB
testcase_04 AC 58 ms
35,052 KB
testcase_05 AC 41 ms
35,020 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
for($i = 0; $i < 1000; $i++) {
    printf("%03d\n",$i);
    flush();
    $res = trim(fgets(STDIN));
    if($res == 'unlocked') {
        break;
    }
}
0