結果

問題 No.481 1から10
ユーザー oga00826oga00826
提出日時 2019-06-13 16:32:05
言語 PHP
(8.3.4)
結果
AC  
実行時間 43 ms / 2,000 ms
コード長 139 bytes
コンパイル時間 239 ms
コンパイル使用メモリ 30,928 KB
実行使用メモリ 31,316 KB
最終ジャッジ日時 2024-04-22 15:15:24
合計ジャッジ時間 1,154 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
30,836 KB
testcase_01 AC 38 ms
31,024 KB
testcase_02 AC 39 ms
30,940 KB
testcase_03 AC 38 ms
31,052 KB
testcase_04 AC 37 ms
30,888 KB
testcase_05 AC 40 ms
31,316 KB
testcase_06 AC 39 ms
30,916 KB
testcase_07 AC 37 ms
31,064 KB
testcase_08 AC 39 ms
31,084 KB
testcase_09 AC 43 ms
31,040 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php

$input = explode(" ", trim(fgets(STDIN)));

for ($i=1; $i<11; $i++) {
    if (!in_array($i, $input)) {
        echo $i."\n";
    }
}
0