結果

問題 No.2647 [Cherry 6th Tune A] Wind
ユーザー superzugan
提出日時 2024-02-26 05:23:41
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 228 bytes
コンパイル時間 105 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-09-29 11:34:36
合計ジャッジ時間 1,228 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
def zen(d,a,lst):
	anslst=[]
	for i in range(d):
		x=((lst[i])/a+.5)//1
		anslst.append(x)
	return anslst
for _ in range(n):
	d,a=map(int,input().split())
	lst=list(map(int,input().split()))
	print(*zen(d,a,lst))
0