結果
問題 | No.2647 [Cherry 6th Tune A] Wind |
ユーザー |
![]() |
提出日時 | 2024-02-23 21:29:13 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 500 ms / 2,000 ms |
コード長 | 334 bytes |
コンパイル時間 | 235 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 85,024 KB |
最終ジャッジ日時 | 2024-09-29 05:33:32 |
合計ジャッジ時間 | 6,574 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 14 |
ソースコード
from decimal import Decimal,ROUND_HALF_UPt = int(input())for _ in range(t):d,a = list(map(int, input().split(' ')))p = list(map(Decimal, input().split(' ')))ans = []for i in p:# print(i/a)q = Decimal(str(i/a)).quantize(Decimal('0'),rounding=ROUND_HALF_UP)ans.append(q)print(*ans)