結果
問題 |
No.2647 [Cherry 6th Tune A] Wind
|
ユーザー |
|
提出日時 | 2024-02-23 21:30:20 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 1,126 bytes |
コンパイル時間 | 1,969 ms |
コンパイル使用メモリ | 199,408 KB |
最終ジャッジ日時 | 2025-02-19 19:27:33 |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 WA * 8 |
ソースコード
#include <bits/stdc++.h> #include <chrono> #include <random> using namespace std; typedef long long ll; #define rep(i, a, b) for (ll i=a; i<b; i++) #define rrep(i, a, b) for (ll i=a; i>b; i--) #define vrep(x, v) for (auto x: v) #define mrep(x, y, v) for (auto [x, y]: v) #define srt(v) sort(v.begin(), v.end()) #define rev(v) reverse(v.begin(), v.end()) #define vmax(v) *max_element(v.begin(), v.end()) #define vmin(v) *min_element(v.begin(), v.end()) #define vsum(v, T) accumulate(v.begin(), v.end(), T(0)) #define now() chrono::duration_cast<chrono::milliseconds>(chrono::system_clock::now().time_since_epoch()).count() #define choice(in, out, n) sample(in.begin(), in.end(), back_inserter(out), n, mt) #define inf 1e18 int main(){ ll T; cin >> T; vector<vector<ll>> ans(T); rep(t, 0, T){ ll D, A; cin >> D >> A; vector<ll> X(D); vrep(&x, X){ cin >> x; } vrep(x, X){ ans[t].push_back(round(double(x)/A)); } } vrep(x, ans){ vrep(y, x){ cout << y << " "; } cout << endl; } }