結果
| 問題 |
No.2647 [Cherry 6th Tune A] Wind
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-07-18 07:25:19 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 464 ms / 2,000 ms |
| コード長 | 248 bytes |
| コンパイル時間 | 234 ms |
| コンパイル使用メモリ | 82,432 KB |
| 実行使用メモリ | 85,344 KB |
| 最終ジャッジ日時 | 2024-09-29 05:18:22 |
| 合計ジャッジ時間 | 6,036 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 |
ソースコード
from decimal import *
T=int(input())
for i in range(T):
D,A=map(int,input().split())
X=list(map(int,input().split()))
ans=[]
for i in X:
ans.append((Decimal(str(i))/Decimal(str(A))).quantize(Decimal("0"),rounding=ROUND_HALF_UP))
print(*ans)