結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー kutsutamakutsutama
提出日時 2018-12-13 13:16:44
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 169 bytes
コンパイル時間 181 ms
コンパイル使用メモリ 11,836 KB
実行使用メモリ 12,056 KB
最終ジャッジ日時 2023-10-25 09:19:50
合計ジャッジ時間 2,220 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 28 ms
9,944 KB
testcase_03 AC 29 ms
9,944 KB
testcase_04 AC 28 ms
9,944 KB
testcase_05 AC 74 ms
11,744 KB
testcase_06 AC 27 ms
9,944 KB
testcase_07 AC 28 ms
9,944 KB
testcase_08 WA -
testcase_09 AC 28 ms
9,944 KB
testcase_10 AC 28 ms
9,944 KB
testcase_11 AC 27 ms
9,944 KB
testcase_12 AC 27 ms
9,944 KB
testcase_13 AC 27 ms
9,944 KB
testcase_14 WA -
testcase_15 AC 37 ms
10,408 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 49 ms
10,772 KB
testcase_20 AC 69 ms
11,744 KB
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = input()
cnt = [0] * 7
mode = 0
L = [int(x) for x in input().split()]
for li in L:
  cnt[li] += 1
  if cnt[li] >= cnt[mode] and li >= mode:
    mode = li
print(mode)
0