結果

問題 No.1406 Test
ユーザー lemonpeach0lemonpeach0
提出日時 2021-02-27 23:53:39
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 170 bytes
コンパイル時間 131 ms
コンパイル使用メモリ 82,628 KB
実行使用メモリ 67,140 KB
最終ジャッジ日時 2024-04-10 15:51:39
合計ジャッジ時間 1,774 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
52,456 KB
testcase_01 AC 33 ms
53,060 KB
testcase_02 AC 33 ms
51,996 KB
testcase_03 AC 33 ms
52,528 KB
testcase_04 AC 32 ms
53,360 KB
testcase_05 AC 32 ms
52,708 KB
testcase_06 AC 32 ms
53,636 KB
testcase_07 RE -
testcase_08 AC 32 ms
52,116 KB
testcase_09 RE -
testcase_10 AC 32 ms
52,676 KB
testcase_11 AC 32 ms
53,812 KB
testcase_12 AC 32 ms
52,340 KB
testcase_13 AC 32 ms
52,668 KB
testcase_14 AC 34 ms
53,000 KB
testcase_15 AC 32 ms
53,216 KB
testcase_16 AC 32 ms
53,616 KB
testcase_17 RE -
testcase_18 AC 32 ms
52,196 KB
testcase_19 AC 33 ms
52,304 KB
testcase_20 RE -
testcase_21 AC 32 ms
52,704 KB
testcase_22 AC 33 ms
52,468 KB
testcase_23 AC 34 ms
52,724 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
a=list(map(int,input().split()))
if n==1:
    print(101)
    exit()
t=(n-sum(a)%n)%n

ans=0
for i in range(101):
    if i%n==t:
        ans+=1

print(ans)
0