結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 31 ms
52,696 KB
testcase_01 AC 33 ms
52,608 KB
testcase_02 AC 35 ms
53,312 KB
testcase_03 AC 35 ms
52,548 KB
testcase_04 AC 35 ms
52,872 KB
testcase_05 AC 31 ms
52,756 KB
testcase_06 AC 31 ms
52,920 KB
testcase_07 RE -
testcase_08 AC 33 ms
52,820 KB
testcase_09 RE -
testcase_10 AC 33 ms
52,396 KB
testcase_11 AC 32 ms
52,204 KB
testcase_12 AC 32 ms
52,568 KB
testcase_13 AC 33 ms
53,152 KB
testcase_14 AC 32 ms
52,328 KB
testcase_15 AC 32 ms
52,460 KB
testcase_16 AC 33 ms
53,420 KB
testcase_17 RE -
testcase_18 AC 32 ms
52,904 KB
testcase_19 AC 32 ms
52,192 KB
testcase_20 RE -
testcase_21 AC 32 ms
52,532 KB
testcase_22 AC 32 ms
51,996 KB
testcase_23 AC 32 ms
53,216 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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