結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー mondomondo
提出日時 2019-07-30 14:49:34
言語 PHP
(8.3.4)
結果
AC  
実行時間 10 ms / 5,000 ms
コード長 287 bytes
コンパイル時間 38 ms
コンパイル使用メモリ 12,092 KB
実行使用メモリ 13,824 KB
最終ジャッジ日時 2023-09-17 23:02:54
合計ジャッジ時間 1,288 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 7 ms
12,172 KB
testcase_01 AC 10 ms
13,752 KB
testcase_02 AC 7 ms
12,132 KB
testcase_03 AC 7 ms
12,172 KB
testcase_04 AC 7 ms
12,216 KB
testcase_05 AC 10 ms
13,824 KB
testcase_06 AC 7 ms
12,212 KB
testcase_07 AC 7 ms
12,152 KB
testcase_08 AC 7 ms
12,132 KB
testcase_09 AC 7 ms
12,152 KB
testcase_10 AC 8 ms
12,176 KB
testcase_11 AC 7 ms
12,120 KB
testcase_12 AC 7 ms
12,248 KB
testcase_13 AC 7 ms
12,228 KB
testcase_14 AC 9 ms
12,100 KB
testcase_15 AC 8 ms
12,176 KB
testcase_16 AC 10 ms
13,752 KB
testcase_17 AC 7 ms
12,128 KB
testcase_18 AC 9 ms
13,776 KB
testcase_19 AC 9 ms
12,176 KB
testcase_20 AC 10 ms
13,772 KB
testcase_21 AC 7 ms
12,136 KB
testcase_22 AC 8 ms
12,220 KB
testcase_23 AC 10 ms
13,784 KB
testcase_24 AC 10 ms
13,780 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
$member = trim(fgets(STDIN));
$level = explode(" ", trim(fgets(STDIN)));
$line = array_count_values($level);
// 最も多く重複している値(value)を$maxに代入
$max = max($line);
// key⇔value
$maxkey = array_keys($line, $max);
// print_r($maxkey);
echo max($maxkey);
0