結果
| 問題 | No.1738 What's in the box? |
| コンテスト | |
| ユーザー |
hir355
|
| 提出日時 | 2021-11-12 22:01:19 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 151 bytes |
| 記録 | |
| コンパイル時間 | 441 ms |
| コンパイル使用メモリ | 85,248 KB |
| 実行使用メモリ | 65,280 KB |
| 最終ジャッジ日時 | 2026-05-20 08:34:14 |
| 合計ジャッジ時間 | 4,372 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 68 RE * 2 |
ソースコード
n, m = map(int, input().split())
w = list(map(int, input().split()))
s = sum(w)
ans = [0] * n
for i in range(n):
ans[i] = m * w[i] // s
print(*ans)
hir355