結果

問題 No.2233 Average
コンテスト
ユーザー だれ
提出日時 2023-02-23 20:07:19
言語 C++17(gcc12)
(gcc 12.4.0 + boost 1.90.0)
コンパイル:
g++-12 -O2 -lm -std=c++17 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
WA  
実行時間 -
コード長 707 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 6,823 ms
コンパイル使用メモリ 336,264 KB
実行使用メモリ 20,200 KB
最終ジャッジ日時 2026-06-29 16:33:48
合計ジャッジ時間 9,572 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1
other WA * 18
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include <bits/stdc++.h>
using namespace std;

#include "testlib.h"

int main() {
    registerValidation();
    int t = inf.readInt(1, 100000);
    inf.readEoln();
    for (int i = 0; i < t; i++) {
        long long a = inf.readLong();
        inf.readSpace();
        long long b = inf.readLong();
        inf.readSpace();
        long long c = inf.readLong();
        inf.readSpace();
        long long k = inf.readLong();
        inf.readEoln();
        ensure(0 <= a && a <= 1'000'000'000'000'000'000);
        ensure(0 <= b && b <= 1'000'000'000'000'000'000);
        ensure(0 <= c && c <= 1'000'000'000'000'000'000);
        ensure(0 <= k && k <= 1'000'000'000'000'000'000);
    }
    inf.readEof();
}
0