結果
| 問題 | No.1406 Test |
| コンテスト | |
| ユーザー |
lemonpeach0
|
| 提出日時 | 2021-02-27 23:48:20 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 166 bytes |
| 記録 | |
| コンパイル時間 | 169 ms |
| コンパイル使用メモリ | 85,100 KB |
| 実行使用メモリ | 65,292 KB |
| 最終ジャッジ日時 | 2026-04-19 02:11:10 |
| 合計ジャッジ時間 | 1,927 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 15 WA * 3 RE * 4 |
ソースコード
n=int(input())
a=list(map(int,input().split()))
if n==0:
print(101)
exit()
t=n-sum(a)%n
ans=0
for i in range(101):
if i%n==t:
ans+=1
print(ans)
lemonpeach0