結果

問題 No.1406 Test
ユーザー kohei2019kohei2019
提出日時 2021-07-07 23:31:29
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 223 bytes
コンパイル時間 455 ms
コンパイル使用メモリ 86,996 KB
実行使用メモリ 79,124 KB
最終ジャッジ日時 2023-09-14 04:43:32
合計ジャッジ時間 3,537 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,456 KB
testcase_01 AC 72 ms
71,160 KB
testcase_02 AC 74 ms
71,412 KB
testcase_03 AC 74 ms
71,520 KB
testcase_04 AC 75 ms
71,216 KB
testcase_05 AC 66 ms
71,292 KB
testcase_06 AC 64 ms
71,020 KB
testcase_07 RE -
testcase_08 AC 66 ms
71,352 KB
testcase_09 RE -
testcase_10 AC 63 ms
71,168 KB
testcase_11 AC 61 ms
71,516 KB
testcase_12 AC 58 ms
71,412 KB
testcase_13 AC 60 ms
71,524 KB
testcase_14 AC 60 ms
71,292 KB
testcase_15 AC 60 ms
71,224 KB
testcase_16 AC 58 ms
71,540 KB
testcase_17 RE -
testcase_18 AC 62 ms
71,284 KB
testcase_19 AC 60 ms
71,296 KB
testcase_20 RE -
testcase_21 AC 59 ms
71,468 KB
testcase_22 AC 69 ms
71,276 KB
testcase_23 AC 66 ms
71,448 KB
権限があれば一括ダウンロードができます

ソースコード

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