結果

問題 No.3100 始業式
ユーザー achapiachapi
提出日時 2023-03-31 23:22:12
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 113 ms / 2,000 ms
コード長 127 bytes
コンパイル時間 944 ms
コンパイル使用メモリ 81,472 KB
実行使用メモリ 76,596 KB
最終ジャッジ日時 2023-10-24 09:55:47
合計ジャッジ時間 1,223 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

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