結果

問題 No.1406 Test
ユーザー トミートミー
提出日時 2024-04-12 22:39:50
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 269 bytes
コンパイル時間 309 ms
コンパイル使用メモリ 82,564 KB
実行使用メモリ 66,656 KB
最終ジャッジ日時 2024-04-12 22:39:53
合計ジャッジ時間 2,278 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
52,524 KB
testcase_01 AC 38 ms
52,276 KB
testcase_02 AC 38 ms
52,120 KB
testcase_03 AC 38 ms
52,548 KB
testcase_04 AC 37 ms
52,992 KB
testcase_05 AC 35 ms
53,348 KB
testcase_06 AC 37 ms
52,180 KB
testcase_07 RE -
testcase_08 AC 38 ms
52,152 KB
testcase_09 RE -
testcase_10 AC 36 ms
51,936 KB
testcase_11 AC 37 ms
52,888 KB
testcase_12 AC 36 ms
52,740 KB
testcase_13 AC 36 ms
53,196 KB
testcase_14 AC 37 ms
52,272 KB
testcase_15 AC 37 ms
52,808 KB
testcase_16 AC 39 ms
52,324 KB
testcase_17 RE -
testcase_18 AC 36 ms
52,432 KB
testcase_19 AC 36 ms
52,560 KB
testcase_20 RE -
testcase_21 AC 37 ms
51,936 KB
testcase_22 AC 37 ms
52,408 KB
testcase_23 AC 36 ms
53,096 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    n=int(input())
    a=list(map(int,input().split()))
    total=sum(a)
    cnt=0
    # nで割ったあまりが0ならok
    for i in range(0,101):
        if (total+i)%n==0:
            cnt+=1
    print(cnt)
    


if __name__ == "__main__":
    main()
0