結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー GoryudyumaGoryudyuma
提出日時 2015-03-08 03:36:27
言語 PHP
(8.3.4)
結果
WA  
実行時間 -
コード長 172 bytes
コンパイル時間 47 ms
コンパイル使用メモリ 18,732 KB
実行使用メモリ 25,056 KB
最終ジャッジ日時 2023-09-06 21:25:25
合計ジャッジ時間 1,793 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 25 ms
25,056 KB
testcase_02 AC 15 ms
18,872 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 25 ms
24,940 KB
testcase_06 AC 15 ms
18,968 KB
testcase_07 AC 16 ms
18,972 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 14 ms
19,048 KB
testcase_11 WA -
testcase_12 AC 16 ms
18,928 KB
testcase_13 AC 15 ms
19,028 KB
testcase_14 AC 21 ms
20,800 KB
testcase_15 AC 17 ms
18,916 KB
testcase_16 AC 23 ms
24,888 KB
testcase_17 AC 17 ms
18,884 KB
testcase_18 AC 23 ms
24,920 KB
testcase_19 AC 20 ms
20,848 KB
testcase_20 AC 25 ms
24,968 KB
testcase_21 AC 15 ms
18,860 KB
testcase_22 AC 18 ms
20,820 KB
testcase_23 AC 25 ms
24,908 KB
testcase_24 AC 25 ms
25,012 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
$N=trim(fgets(STDIN));
$data=  explode(' ', trim(fgets(STDIN)));
for($i=0;$i<$N;$i++){
    @$ans[$data[$i]]++;
}

arsort($ans);
echo reset(array_keys($ans)).PHP_EOL;
0