結果
| 問題 |
No.1406 Test
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-02-26 21:23:08 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 465 bytes |
| コンパイル時間 | 293 ms |
| コンパイル使用メモリ | 81,920 KB |
| 実行使用メモリ | 66,432 KB |
| 最終ジャッジ日時 | 2024-10-02 13:50:59 |
| 合計ジャッジ時間 | 2,229 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 18 RE * 4 |
ソースコード
# import sys
# input = sys.stdin.readline
def mp():return map(int,input().split())
def lmp():return list(map(int,input().split()))
import math
import bisect
from copy import deepcopy as dc
from itertools import accumulate
from collections import Counter, defaultdict, deque
def ceil(U,V):return (U+V-1)//V
def modf1(N,MOD):return (N-1)%MOD+1
n = int(input())
a = lmp()
aa = sum(a)
ans = 0
for i in range(101):
if (aa + i) % n == 0:
ans += 1
print(ans)