結果

問題 No.1406 Test
ユーザー kohei2019
提出日時 2021-07-07 23:31:29
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 223 bytes
コンパイル時間 158 ms
コンパイル使用メモリ 81,912 KB
実行使用メモリ 66,208 KB
最終ジャッジ日時 2024-07-01 12:27:02
合計ジャッジ時間 2,014 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 18 RE * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
if N == 2:
    lsA = [int(input())]
else:
    lsA = list(map(int,input().split()))
sumA = sum(lsA)
cnt = 0
for i in range(101):
    su = N*i
    a = su-sumA
    if 0 <= a <= 100:
        cnt += 1
print(cnt)
0