結果
| 問題 |
No.1407 Kindness
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-02-26 21:41:35 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 186 bytes |
| コンパイル時間 | 135 ms |
| コンパイル使用メモリ | 82,512 KB |
| 実行使用メモリ | 67,348 KB |
| 最終ジャッジ日時 | 2024-10-02 14:17:23 |
| 合計ジャッジ時間 | 3,110 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)