結果

問題 No.1406 Test
ユーザー 👑 SPD_9X2SPD_9X2
提出日時 2021-02-26 21:22:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 208 bytes
コンパイル時間 330 ms
コンパイル使用メモリ 82,440 KB
実行使用メモリ 53,560 KB
最終ジャッジ日時 2024-04-10 11:48:13
合計ジャッジ時間 1,995 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
52,616 KB
testcase_01 AC 35 ms
52,000 KB
testcase_02 AC 35 ms
53,288 KB
testcase_03 AC 34 ms
51,752 KB
testcase_04 AC 36 ms
52,916 KB
testcase_05 AC 36 ms
52,120 KB
testcase_06 AC 35 ms
52,020 KB
testcase_07 AC 35 ms
51,824 KB
testcase_08 AC 35 ms
52,280 KB
testcase_09 AC 35 ms
52,204 KB
testcase_10 AC 38 ms
52,952 KB
testcase_11 AC 35 ms
52,504 KB
testcase_12 AC 35 ms
51,876 KB
testcase_13 AC 34 ms
52,660 KB
testcase_14 AC 36 ms
52,592 KB
testcase_15 AC 34 ms
52,892 KB
testcase_16 AC 36 ms
52,324 KB
testcase_17 AC 36 ms
53,560 KB
testcase_18 AC 35 ms
52,600 KB
testcase_19 AC 34 ms
52,072 KB
testcase_20 AC 35 ms
52,376 KB
testcase_21 AC 36 ms
53,144 KB
testcase_22 AC 37 ms
52,572 KB
testcase_23 AC 36 ms
52,824 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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