結果

問題 No.2647 [Cherry 6th Tune A] Wind
ユーザー pyt-314
提出日時 2024-03-11 18:31:23
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 308 bytes
コンパイル時間 92 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 11,392 KB
最終ジャッジ日時 2024-09-29 22:04:27
合計ジャッジ時間 1,271 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN


t = int(input())
for i in range(t):
    d, a = map(int, input().split())
    x = list(map(int, input().split()))
    x = list(
        str(Decimal(str((x1 / a))).quantize(Decimal("0"), ROUND_HALF_UP)) for x1 in x
    )
    print(" ".join(x)[0:])
0