結果

問題 No.1406 Test
ユーザー machoniumpmachoniump
提出日時 2021-05-02 19:26:19
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 984 bytes
コンパイル時間 117 ms
コンパイル使用メモリ 10,904 KB
実行使用メモリ 10,440 KB
最終ジャッジ日時 2023-09-28 09:49:24
合計ジャッジ時間 1,706 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
10,372 KB
testcase_01 AC 28 ms
10,364 KB
testcase_02 AC 31 ms
10,300 KB
testcase_03 AC 31 ms
10,316 KB
testcase_04 AC 31 ms
10,296 KB
testcase_05 AC 28 ms
10,300 KB
testcase_06 AC 28 ms
10,296 KB
testcase_07 RE -
testcase_08 AC 29 ms
10,324 KB
testcase_09 RE -
testcase_10 AC 28 ms
10,312 KB
testcase_11 AC 30 ms
10,296 KB
testcase_12 AC 30 ms
10,408 KB
testcase_13 AC 29 ms
10,296 KB
testcase_14 AC 30 ms
10,348 KB
testcase_15 AC 29 ms
10,304 KB
testcase_16 AC 29 ms
10,380 KB
testcase_17 RE -
testcase_18 AC 28 ms
10,396 KB
testcase_19 AC 29 ms
10,412 KB
testcase_20 RE -
testcase_21 AC 28 ms
10,392 KB
testcase_22 AC 28 ms
10,364 KB
testcase_23 AC 30 ms
10,428 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
from collections import deque, defaultdict,Counter
from copy import deepcopy
from bisect import bisect_left, bisect_right, insort_left, insort_right
from heapq import heapify, heappop, heappush
from itertools import product, permutations, combinations, combinations_with_replacement
from functools import reduce
from math import gcd, sin, cos, tan, asin, acos, atan, degrees, radians, ceil, floor, log, sqrt, ceil, floor, pi, hypot
from string import ascii_lowercase
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN
sys.setrecursionlimit(1000000)
INF = 10**18
MOD = 10**9+7
# MOD = 998244353
yes="Yes"
no="No"
from random import randint
def II():return int(input())
def SI():return str(input())
def MI():return map(int,input().split())
def MS():return map(str,input().split())
def LI():return list(map(int,input().split()))
n=II()
a=sum(LI())
cnt=0
if n==1:
    print(101)
else:
    for i in range(101):
        if (a+i)%n==0:
            cnt+=1
    print(cnt)

0