結果
問題 |
No.2647 [Cherry 6th Tune A] Wind
|
ユーザー |
|
提出日時 | 2024-02-23 21:26:44 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 610 bytes |
コンパイル時間 | 190 ms |
コンパイル使用メモリ | 82,100 KB |
実行使用メモリ | 78,052 KB |
最終ジャッジ日時 | 2024-09-29 05:27:26 |
合計ジャッジ時間 | 1,941 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 WA * 8 |
ソースコード
import sys inf = float("inf") input = lambda: sys.stdin.readline().rstrip("\r\n") print = lambda *args, end="\n", sep=" ": sys.stdout.write( sep.join(map(str, args)) + end ) def II(): return int(input()) def MII(b=0): return map(lambda x: int(x) - b, input().split()) def LII(b=0): return list(MII(b)) def round(x, n): res = "{:.{}f}".format(x, n) if all(c not in res for c in "123456789"): res = res.strip("-") return res for _ in range(II()): d, a = MII() xs = LII() res = [] for x in xs: res.append(round(x / a, 0)) print(*res)