結果

問題 No.182 新規性の虜
ユーザー mondomondo
提出日時 2019-07-31 14:04:46
言語 PHP
(8.3.4)
結果
AC  
実行時間 20 ms / 5,000 ms
コード長 242 bytes
コンパイル時間 37 ms
コンパイル使用メモリ 12,096 KB
実行使用メモリ 24,680 KB
最終ジャッジ日時 2023-09-18 16:00:00
合計ジャッジ時間 1,565 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 8 ms
12,168 KB
testcase_01 AC 7 ms
12,220 KB
testcase_02 AC 7 ms
12,144 KB
testcase_03 AC 7 ms
12,232 KB
testcase_04 AC 7 ms
12,220 KB
testcase_05 AC 7 ms
12,144 KB
testcase_06 AC 7 ms
12,220 KB
testcase_07 AC 7 ms
12,192 KB
testcase_08 AC 15 ms
18,260 KB
testcase_09 AC 20 ms
24,664 KB
testcase_10 AC 19 ms
24,680 KB
testcase_11 AC 16 ms
19,892 KB
testcase_12 AC 10 ms
15,808 KB
testcase_13 AC 7 ms
12,216 KB
testcase_14 AC 7 ms
12,196 KB
testcase_15 AC 7 ms
12,156 KB
testcase_16 AC 7 ms
12,160 KB
testcase_17 AC 7 ms
12,164 KB
testcase_18 AC 12 ms
17,932 KB
testcase_19 AC 10 ms
15,860 KB
testcase_20 AC 9 ms
13,760 KB
testcase_21 AC 13 ms
17,880 KB
testcase_22 AC 10 ms
15,856 KB
testcase_23 AC 7 ms
12,232 KB
testcase_24 AC 18 ms
22,052 KB
testcase_25 AC 10 ms
13,808 KB
testcase_26 AC 9 ms
13,788 KB
testcase_27 AC 7 ms
12,116 KB
evil01.txt AC 21 ms
26,364 KB
evil02.txt AC 22 ms
26,400 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
$n = trim(fgets(STDIN));
$array1 = explode(" ",trim(fgets(STDIN)));
$array2 = array_count_values($array1);
$array3 = array();
foreach ($array2 as $key => $value){
    $array3 = array_keys($array2, "1");
    break;
}
echo count($array3);
0