結果
| 問題 | No.2647 [Cherry 6th Tune A] Wind |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-13 08:38:32 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
OLE
|
| 実行時間 | - |
| コード長 | 602 bytes |
| 記録 | |
| コンパイル時間 | 2,045 ms |
| コンパイル使用メモリ | 193,712 KB |
| 最終ジャッジ日時 | 2025-02-21 00:56:30 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 OLE * 1 -- * 12 |
ソースコード
/*==========================================================================*/
/*
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;
}