結果
| 問題 |
No.1406 Test
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-02-26 21:41:56 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 186 bytes |
| コンパイル時間 | 779 ms |
| コンパイル使用メモリ | 82,340 KB |
| 実行使用メモリ | 66,628 KB |
| 最終ジャッジ日時 | 2024-10-02 14:17:32 |
| 合計ジャッジ時間 | 2,290 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 15 WA * 3 RE * 4 |
ソースコード
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)