結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
53,300 KB
testcase_01 AC 38 ms
52,748 KB
testcase_02 AC 35 ms
54,088 KB
testcase_03 WA -
testcase_04 AC 35 ms
52,880 KB
testcase_05 AC 36 ms
52,456 KB
testcase_06 AC 36 ms
53,016 KB
testcase_07 RE -
testcase_08 AC 35 ms
52,660 KB
testcase_09 RE -
testcase_10 AC 35 ms
53,060 KB
testcase_11 AC 34 ms
52,620 KB
testcase_12 AC 35 ms
53,500 KB
testcase_13 AC 36 ms
52,792 KB
testcase_14 WA -
testcase_15 AC 35 ms
52,068 KB
testcase_16 AC 35 ms
52,132 KB
testcase_17 RE -
testcase_18 AC 36 ms
52,444 KB
testcase_19 AC 36 ms
52,864 KB
testcase_20 RE -
testcase_21 AC 35 ms
53,144 KB
testcase_22 AC 35 ms
52,892 KB
testcase_23 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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

print(ans)
0