結果

問題 No.1406 Test
ユーザー O2MTO2MT
提出日時 2021-02-27 18:28:43
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 2,000 ms
コード長 183 bytes
コンパイル時間 134 ms
コンパイル使用メモリ 82,376 KB
実行使用メモリ 53,356 KB
最終ジャッジ日時 2024-04-10 15:47:32
合計ジャッジ時間 1,810 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
53,356 KB
testcase_01 AC 38 ms
53,348 KB
testcase_02 AC 36 ms
52,616 KB
testcase_03 AC 36 ms
52,580 KB
testcase_04 AC 35 ms
52,092 KB
testcase_05 AC 35 ms
52,076 KB
testcase_06 AC 35 ms
51,856 KB
testcase_07 AC 34 ms
51,680 KB
testcase_08 AC 34 ms
52,184 KB
testcase_09 AC 33 ms
52,560 KB
testcase_10 AC 33 ms
52,400 KB
testcase_11 AC 34 ms
52,236 KB
testcase_12 AC 34 ms
52,732 KB
testcase_13 AC 39 ms
52,132 KB
testcase_14 AC 33 ms
52,052 KB
testcase_15 AC 35 ms
53,012 KB
testcase_16 AC 34 ms
52,980 KB
testcase_17 AC 35 ms
51,940 KB
testcase_18 AC 35 ms
52,592 KB
testcase_19 AC 35 ms
52,888 KB
testcase_20 AC 33 ms
52,820 KB
testcase_21 AC 34 ms
52,092 KB
testcase_22 AC 33 ms
52,408 KB
testcase_23 AC 34 ms
52,408 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
if N == 1:
    print(101)
    exit()
A = list(map(int,input().split()))
sumA = sum(A)
ans = 0
for i in range(101):
    if (sumA+i)%N == 0:
        ans += 1
print(ans)
0