結果
| 問題 |
No.2647 [Cherry 6th Tune A] Wind
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-19 19:40:26 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 549 bytes |
| コンパイル時間 | 2,117 ms |
| コンパイル使用メモリ | 194,860 KB |
| 最終ジャッジ日時 | 2025-02-21 03:26:50 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 WA * 11 |
ソースコード
/**
* auther: deviceF
* created: 19.04.2024 07:15:04
**/
#include<bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
int t;
cin >> t;
while (t--) {
int n, d;
cin >> n >> d;
vector<long double> a(n);
for (int i = 0; i < n; i++) {
cin >> a[i];
}
for (int i = 0; i < n; i++) {
a[i] /= (long double) d;
}
for (auto i : a) {
cout << fixed << setprecision(0) << round(i) << " ";
}
cout << '\n';
}
return 0;
}