結果
| 問題 | No.2647 [Cherry 6th Tune A] Wind |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-03-09 16:10:04 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 405 bytes |
| 記録 | |
| コンパイル時間 | 565 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 16,476 KB |
| 最終ジャッジ日時 | 2026-04-16 03:58:22 |
| 合計ジャッジ時間 | 3,072 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 WA * 8 |
ソースコード
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN
def solve(D, A, X):
res = []
for x in X:
tmp = Decimal(str(x / A)).quantize(Decimal("0"), ROUND_HALF_UP)
res.append(tmp)
return res
T = int(input())
ans = []
for _ in range(T):
D, A = map(int, input().split())
X = list(map(int, input().split()))
ans.append(solve(D, A, X))
for c in ans:
print(*c)