結果

問題 No.2647 [Cherry 6th Tune A] Wind
ユーザー HarryHosonoHarryHosono
提出日時 2024-04-13 08:38:32
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
OLE  
実行時間 -
コード長 602 bytes
コンパイル時間 2,467 ms
コンパイル使用メモリ 194,280 KB
実行使用メモリ 13,756 KB
最終ジャッジ日時 2024-04-13 08:38:39
合計ジャッジ時間 7,177 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
13,756 KB
testcase_01 OLE -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

/*==========================================================================*/
/*
    auther:    Dev1ce
    created:   06.04.2024 15:58:49
*/
/*--------------------------------------------------------------------------*/

#include<bits/stdc++.h>

using namespace std;



int main() {
	ios::sync_with_stdio(false);
	cin.tie(0);
	int t;
	cin >> t;
	while (t--) {
		int d, a;
		cin >> d >> a;
		while (d--) {
			long long x;
			cin >> x;
			long double ans = (long double) x / (long double) a;
			cout << (long long) round(ans) << " ";
		}
		cout << '\n';
	}
	
	return 0;	
}
0