結果
問題 | No.182 新規性の虜 |
ユーザー | papinianus |
提出日時 | 2016-07-25 13:04:23 |
言語 | PHP (8.3.4) |
結果 |
TLE
|
実行時間 | - |
コード長 | 237 bytes |
コンパイル時間 | 185 ms |
コンパイル使用メモリ | 30,772 KB |
実行使用メモリ | 41,872 KB |
最終ジャッジ日時 | 2024-04-24 08:54:18 |
合計ジャッジ時間 | 7,229 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 41 ms
35,940 KB |
testcase_01 | AC | 41 ms
30,512 KB |
testcase_02 | AC | 40 ms
30,532 KB |
testcase_03 | AC | 41 ms
30,576 KB |
testcase_04 | AC | 40 ms
30,632 KB |
testcase_05 | AC | 42 ms
30,476 KB |
testcase_06 | AC | 40 ms
30,628 KB |
testcase_07 | AC | 41 ms
30,256 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
ソースコード
<?php $null = trim(fgets(STDIN)); $nums = explode(" ",trim(fgets(STDIN))); $ans = 0; $uniqs = array_unique($nums); foreach($uniqs as $uniq) { if(count(array_keys($nums, $uniq)) == 1) { $ans++; } } echo $ans; echo PHP_EOL;