結果

問題 No.1406 Test
ユーザー deepjugglingdeepjuggling
提出日時 2023-02-18 23:34:32
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 196 bytes
コンパイル時間 1,504 ms
コンパイル使用メモリ 86,280 KB
実行使用メモリ 71,500 KB
最終ジャッジ日時 2023-09-27 11:54:42
合計ジャッジ時間 2,941 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 59 ms
71,212 KB
testcase_01 AC 60 ms
71,312 KB
testcase_02 AC 58 ms
71,160 KB
testcase_03 AC 58 ms
71,344 KB
testcase_04 AC 59 ms
71,136 KB
testcase_05 AC 58 ms
71,272 KB
testcase_06 AC 62 ms
71,064 KB
testcase_07 WA -
testcase_08 AC 60 ms
70,960 KB
testcase_09 WA -
testcase_10 AC 58 ms
71,368 KB
testcase_11 AC 61 ms
70,968 KB
testcase_12 AC 58 ms
71,208 KB
testcase_13 AC 62 ms
70,968 KB
testcase_14 AC 58 ms
71,456 KB
testcase_15 AC 56 ms
71,500 KB
testcase_16 AC 57 ms
71,248 KB
testcase_17 WA -
testcase_18 AC 60 ms
71,176 KB
testcase_19 AC 58 ms
71,060 KB
testcase_20 WA -
testcase_21 AC 59 ms
71,160 KB
testcase_22 AC 59 ms
71,076 KB
testcase_23 AC 57 ms
71,204 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())

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