結果

問題 No.481 1から10
ユーザー tazakkytazakky
提出日時 2017-08-30 12:18:09
言語 PHP
(8.3.4)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 228 bytes
コンパイル時間 463 ms
コンパイル使用メモリ 30,288 KB
実行使用メモリ 30,952 KB
最終ジャッジ日時 2024-04-24 07:17:14
合計ジャッジ時間 1,197 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
30,952 KB
testcase_01 AC 43 ms
30,868 KB
testcase_02 AC 40 ms
30,908 KB
testcase_03 AC 42 ms
30,608 KB
testcase_04 AC 44 ms
30,652 KB
testcase_05 AC 41 ms
30,868 KB
testcase_06 AC 41 ms
30,664 KB
testcase_07 AC 41 ms
30,756 KB
testcase_08 AC 42 ms
30,760 KB
testcase_09 AC 41 ms
30,856 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
    $input = explode(" ", trim(fgets(STDIN)));
    $input[] = "x";
    //print_r($input);
    for($i = 0; $i < 10; $i++){
        if($input[$i] != $i + 1){
            echo $i + 1;
            break;
        }
    }
   
?>
0