結果
| 問題 |
No.1738 What's in the box?
|
| コンテスト | |
| ユーザー |
dn6049949
|
| 提出日時 | 2021-11-14 21:44:39 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 575 bytes |
| コンパイル時間 | 169 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 65,408 KB |
| 最終ジャッジ日時 | 2024-11-30 06:58:54 |
| 合計ジャッジ時間 | 5,621 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 68 RE * 2 |
ソースコード
#!usr/bin/env python3
from collections import defaultdict, deque
from heapq import heappush, heappop
from itertools import permutations, accumulate
import sys
import math
import bisect
def LI(): return [int(x) for x in sys.stdin.readline().split()]
def I(): return int(sys.stdin.readline())
def IR(n):
return [I() for _ in range(n)]
def LIR(n):
return [LI() for _ in range(n)]
sys.setrecursionlimit(1000000)
mod = 1000000007
def main():
n,m = LI()
w = LI()
s = sum(w)
print(*[(m*i)//s for i in w])
return
if __name__ == "__main__":
main()
dn6049949