結果

問題 No.3100 始業式
ユーザー achapiachapi
提出日時 2023-03-31 22:00:21
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 133 bytes
コンパイル時間 184 ms
コンパイル使用メモリ 81,860 KB
実行使用メモリ 76,868 KB
最終ジャッジ日時 2023-10-24 07:57:41
合計ジャッジ時間 823 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

t = int(input())
for i in range(t):
    n = int(input())
    a = list(map(int,input().split()))
    print(max(a.count(1),a.count(0)))
0