結果

問題 No.2647 [Cherry 6th Tune A] Wind
コンテスト
ユーザー eve__fuyuki
提出日時 2024-02-25 15:36:53
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 795 bytes
コンパイル時間 1,900 ms
コンパイル使用メモリ 193,740 KB
最終ジャッジ日時 2025-02-19 21:18:18
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

#include <atcoder/lazysegtree>
using namespace std;
using namespace atcoder;
using pdi = pair<long double, int>;
pdi op(pdi a, pdi b) { return {a.first + b.first, a.second + b.second}; }
pdi e() { return {0, 1}; }
pdi mapping(long double f, pdi x) { return {x.first + f * x.second, x.second}; }
long double composition(long double f, long double g) { return f + g; }
long double id() { return 0; }

void fast_io() {
    ios::sync_with_stdio(false);
    std::cin.tie(nullptr);
}

int main() {
    fast_io();
    int t;
    cin >> t;
    for (; t--;) {
        int d;
        long long a;
        cin >> d >> a;
        for (int i = 0; i < d; i++) {
            long long x;
            cin >> x;
            cout << x / a << (i + 1 == d ? "\n" : " ");
        }
    }
}
0