結果

問題 No.304 鍵(1)
ユーザー peta727peta727
提出日時 2016-05-12 17:23:50
言語 PHP
(8.3.4)
結果
AC  
実行時間 69 ms / 2,000 ms
コード長 323 bytes
コンパイル時間 1,037 ms
コンパイル使用メモリ 18,364 KB
実行使用メモリ 34,944 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-23 23:51:35
合計ジャッジ時間 1,571 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
34,944 KB
testcase_01 AC 39 ms
34,868 KB
testcase_02 AC 69 ms
34,348 KB
testcase_03 AC 38 ms
34,352 KB
testcase_04 AC 52 ms
34,520 KB
testcase_05 AC 36 ms
34,788 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
    for ($i = 0; $i < 10; $i++) {
        for ($j = 0; $j < 10; $j++) {
            for ($k = 0; $k < 10; $k++) {
                echo $i.$j.$k . PHP_EOL;
                $input = trim(fgets(STDIN));
                if ($input == "unlocked") {
                    exit;
                }
            }
        }
    }
0