結果
問題 | No.2647 [Cherry 6th Tune A] Wind |
ユーザー |
![]() |
提出日時 | 2024-02-23 21:25:11 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 57 ms / 2,000 ms |
コード長 | 244 bytes |
コンパイル時間 | 129 ms |
コンパイル使用メモリ | 81,976 KB |
実行使用メモリ | 71,180 KB |
最終ジャッジ日時 | 2024-09-29 05:24:04 |
合計ジャッジ時間 | 1,410 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 14 |
ソースコード
T=int(input())for _ in range(T):d,a=map(int,input().split())X=list(map(int,input().split()))ans=[]for x in X:if x*2//a%2==1:ans.append(x//a+1)else:ans.append(x//a)print(*ans)