結果

問題 No.2647 [Cherry 6th Tune A] Wind
ユーザー pyt-314pyt-314
提出日時 2024-03-11 18:34:44
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 251 bytes
コンパイル時間 126 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-09-29 22:04:28
合計ジャッジ時間 1,128 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

def round_int(x):
    return int(x) + ((x - int(x)) >= 0.5)


t = int(input())
for i in range(t):
    d, a = map(int, input().split())
    x = list(map(int, input().split()))
    x = list(str(round_int(x1 / a)) for x1 in x)
    print(" ".join(x)[0:])
0