結果
| 問題 | No.1738 What's in the box? |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-11-12 22:53:25 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 222 bytes |
| 記録 | |
| コンパイル時間 | 564 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 21,088 KB |
| 最終ジャッジ日時 | 2026-05-20 10:35:25 |
| 合計ジャッジ時間 | 10,323 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 48 WA * 20 RE * 2 |
ソースコード
from decimal import Decimal
n, m = map(Decimal, input().split())
W = list(map(Decimal, input().split()))
sumW = sum(W)
bw = sumW / m
ans = []
for i in range(int(n)):
ans.append(int(W[i] / bw))
print(*ans)