結果
| 問題 |
No.2647 [Cherry 6th Tune A] Wind
|
| コンテスト | |
| ユーザー |
norioc
|
| 提出日時 | 2024-02-23 21:32:56 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 388 ms / 2,000 ms |
| コード長 | 270 bytes |
| コンパイル時間 | 303 ms |
| コンパイル使用メモリ | 82,440 KB |
| 実行使用メモリ | 84,636 KB |
| 最終ジャッジ日時 | 2024-09-29 05:40:43 |
| 合計ジャッジ時間 | 4,990 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 |
ソースコード
from decimal import Decimal
def solve():
D, A = map(int, input().split())
X = list(map(int, input().split()))
ans = []
for x in X:
ans.append(int(Decimal(x) / A + Decimal(0.5)))
print(*ans)
T = int(input())
for _ in range(T):
solve()
norioc