結果

問題 No.1406 Test
ユーザー 👑 tamatotamato
提出日時 2021-02-26 21:21:46
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 310 bytes
コンパイル時間 352 ms
コンパイル使用メモリ 82,752 KB
実行使用メモリ 53,892 KB
最終ジャッジ日時 2024-04-10 11:47:17
合計ジャッジ時間 2,150 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
52,964 KB
testcase_01 AC 37 ms
53,296 KB
testcase_02 AC 36 ms
52,608 KB
testcase_03 AC 37 ms
52,848 KB
testcase_04 AC 37 ms
52,468 KB
testcase_05 AC 38 ms
53,076 KB
testcase_06 AC 37 ms
52,840 KB
testcase_07 AC 36 ms
53,412 KB
testcase_08 AC 38 ms
53,892 KB
testcase_09 AC 37 ms
52,572 KB
testcase_10 AC 37 ms
52,332 KB
testcase_11 AC 37 ms
53,632 KB
testcase_12 AC 36 ms
52,940 KB
testcase_13 AC 37 ms
53,308 KB
testcase_14 AC 37 ms
53,716 KB
testcase_15 AC 37 ms
52,876 KB
testcase_16 AC 36 ms
52,320 KB
testcase_17 AC 37 ms
52,472 KB
testcase_18 AC 36 ms
52,588 KB
testcase_19 AC 36 ms
52,012 KB
testcase_20 AC 36 ms
53,084 KB
testcase_21 AC 36 ms
53,176 KB
testcase_22 AC 37 ms
52,564 KB
testcase_23 AC 37 ms
52,136 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 1000000007
eps = 10**-9


def main():
    import sys
    input = sys.stdin.readline

    N = int(input())
    A = list(map(int, input().split()))

    S = sum(A)
    ans = 0
    for i in range(101):
        if (S + i) % N == 0:
            ans += 1
    print(ans)


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