結果

問題 No.3100 始業式
ユーザー tombo_chocotombo_choco
提出日時 2023-03-31 22:10:41
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 194 bytes
コンパイル時間 322 ms
コンパイル使用メモリ 81,696 KB
実行使用メモリ 75,968 KB
最終ジャッジ日時 2023-10-24 08:12:19
合計ジャッジ時間 1,087 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

T = int(input())
for _ in range(T):
    N = int(input())
    f = list(map(int, input().split()))
    cnt = 0
    for v in f:
        if v==1:
            cnt += 1
    print(cnt if cnt!=N else 0)
0