結果

問題 No.2647 [Cherry 6th Tune A] Wind
ユーザー nhtloc
提出日時 2025-06-08 12:50:18
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 317 bytes
コンパイル時間 945 ms
コンパイル使用メモリ 67,408 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2025-06-08 12:50:20
合計ジャッジ時間 2,302 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

int main() {
    int T;
    cin >> T;
    while (T--) {
        int D;
        long long A;
        cin >> D >> A;
        for (int i = 0; i < D; ++i) {
            long long X;
            cin >> X;
            cout << (X + A/2) / A << endl;
        }
    }
    return 0;
}
0