結果

問題 No.1406 Test
ユーザー O2MTO2MT
提出日時 2021-02-27 18:27:49
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 181 bytes
コンパイル時間 126 ms
コンパイル使用メモリ 82,448 KB
実行使用メモリ 53,884 KB
最終ジャッジ日時 2024-04-10 15:47:30
合計ジャッジ時間 1,684 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
52,432 KB
testcase_01 AC 35 ms
52,112 KB
testcase_02 AC 34 ms
53,188 KB
testcase_03 AC 35 ms
53,008 KB
testcase_04 AC 33 ms
52,656 KB
testcase_05 AC 31 ms
53,024 KB
testcase_06 AC 33 ms
52,604 KB
testcase_07 WA -
testcase_08 AC 32 ms
52,408 KB
testcase_09 WA -
testcase_10 AC 32 ms
53,080 KB
testcase_11 AC 32 ms
52,556 KB
testcase_12 AC 33 ms
52,188 KB
testcase_13 AC 33 ms
53,360 KB
testcase_14 AC 34 ms
52,340 KB
testcase_15 AC 33 ms
52,188 KB
testcase_16 AC 33 ms
51,868 KB
testcase_17 WA -
testcase_18 AC 35 ms
52,316 KB
testcase_19 AC 35 ms
52,340 KB
testcase_20 WA -
testcase_21 AC 31 ms
53,884 KB
testcase_22 AC 32 ms
52,136 KB
testcase_23 AC 32 ms
52,924 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
if N == 1:
    print(0)
    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