結果

問題 No.2647 [Cherry 6th Tune A] Wind
ユーザー shogo314shogo314
提出日時 2024-02-23 21:40:29
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 478 ms / 2,000 ms
コード長 244 bytes
コンパイル時間 191 ms
コンパイル使用メモリ 81,700 KB
実行使用メモリ 84,936 KB
最終ジャッジ日時 2024-02-23 21:40:44
合計ジャッジ時間 6,539 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 114 ms
79,304 KB
testcase_01 AC 392 ms
83,656 KB
testcase_02 AC 290 ms
82,504 KB
testcase_03 AC 452 ms
83,400 KB
testcase_04 AC 300 ms
82,760 KB
testcase_05 AC 446 ms
84,236 KB
testcase_06 AC 466 ms
84,296 KB
testcase_07 AC 429 ms
83,952 KB
testcase_08 AC 450 ms
84,936 KB
testcase_09 AC 478 ms
84,788 KB
testcase_10 AC 448 ms
83,604 KB
testcase_11 AC 450 ms
84,704 KB
testcase_12 AC 425 ms
84,168 KB
testcase_13 AC 115 ms
79,304 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import Decimal, ROUND_HALF_UP

for _ in range(int(input())):
    D, A = map(Decimal, input().split())
    X = list(map(Decimal, input().split()))
    ans = [(x / A).quantize(Decimal("0"), ROUND_HALF_UP) for x in X]
    print(*ans)
0