結果

問題 No.182 新規性の虜
ユーザー papinianuspapinianus
提出日時 2016-07-25 13:02:12
言語 PHP
(8.3.4)
結果
TLE  
実行時間 -
コード長 204 bytes
コンパイル時間 90 ms
コンパイル使用メモリ 30,808 KB
実行使用メモリ 38,920 KB
最終ジャッジ日時 2024-04-24 08:54:05
合計ジャッジ時間 7,267 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
30,892 KB
testcase_01 AC 35 ms
30,952 KB
testcase_02 AC 34 ms
30,884 KB
testcase_03 AC 37 ms
30,968 KB
testcase_04 AC 35 ms
30,732 KB
testcase_05 AC 36 ms
30,912 KB
testcase_06 AC 35 ms
30,956 KB
testcase_07 AC 35 ms
30,732 KB
testcase_08 TLE -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
evil01.txt -- -
evil02.txt -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
$null = trim(fgets(STDIN));
$nums = explode(" ",trim(fgets(STDIN)));
$ans = 0;
foreach($nums as $num) {
    if(count(array_keys($nums, $num)) == 1) {
        $ans++;
    }
}
echo $ans;
echo PHP_EOL;
0