結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
52,640 KB
testcase_01 AC 31 ms
53,448 KB
testcase_02 AC 32 ms
52,352 KB
testcase_03 WA -
testcase_04 AC 31 ms
52,176 KB
testcase_05 AC 31 ms
52,692 KB
testcase_06 AC 31 ms
52,808 KB
testcase_07 RE -
testcase_08 AC 31 ms
52,092 KB
testcase_09 RE -
testcase_10 AC 32 ms
52,624 KB
testcase_11 AC 32 ms
52,532 KB
testcase_12 AC 32 ms
53,480 KB
testcase_13 AC 32 ms
52,576 KB
testcase_14 WA -
testcase_15 AC 32 ms
53,652 KB
testcase_16 AC 33 ms
52,504 KB
testcase_17 RE -
testcase_18 AC 34 ms
52,112 KB
testcase_19 AC 35 ms
52,068 KB
testcase_20 RE -
testcase_21 AC 32 ms
52,228 KB
testcase_22 AC 32 ms
52,292 KB
testcase_23 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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

print(ans)
0