結果

問題 No.2647 [Cherry 6th Tune A] Wind
コンテスト
ユーザー daiota
提出日時 2024-02-23 21:36:08
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 427 bytes
コンパイル時間 1,354 ms
コンパイル使用メモリ 167,356 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-09-29 05:48:10
合計ジャッジ時間 1,927 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

typedef long long ll;
typedef pair<int,int> P;
#define REP(i,n) for(ll i=0;i<ll(n);i++)





int main(void){
	cin.tie(nullptr);  ios_base::sync_with_stdio(false);
	int i,j;

	int T;
	cin >> T;
	while(T--){

		double D,A;
		cin >> D >> A;

		for(i=1;i<=D;i++){
			double X;
			cin >> X;

			ll x=(ll)(X/A+0.5);

			cout << x << ' ';
		}

		cout << endl;


	}



     return 0;

}
0