結果
| 問題 | No.1407 Kindness |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-02-26 21:41:35 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 186 bytes |
| 記録 | |
| コンパイル時間 | 376 ms |
| コンパイル使用メモリ | 85,504 KB |
| 実行使用メモリ | 65,536 KB |
| 最終ジャッジ日時 | 2026-04-18 23:52:58 |
| 合計ジャッジ時間 | 3,405 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 36 |
ソースコード
n = int(input())
a = list(map(int,input().split()))
ans = 0
s_a=sum(a)
for i in range(11):
if (s_a+i)%n == 0:
ans+=i
break
if ans == 0:
print(0)
else:
print(1+(100-ans)//n)