結果

問題 No.1738 What's in the box?
ユーザー kohei2019kohei2019
提出日時 2023-06-12 00:01:56
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 143 bytes
コンパイル時間 2,711 ms
コンパイル使用メモリ 81,656 KB
実行使用メモリ 66,760 KB
最終ジャッジ日時 2025-01-03 05:56:34
合計ジャッジ時間 6,377 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 32 WA * 36 RE * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

N,M = map(int,input().split())
lsW = list(map(int,input().split()))
sumW = sum(lsW)
ball = sumW/M

print(*[int(lsW[i]/ball) for i in range(N)])
0