結果

問題 No.1675 Strange Minimum Query
ユーザー akakimidoriakakimidori
提出日時 2021-08-15 01:54:46
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 662 bytes
コンパイル時間 7,445 ms
コンパイル使用メモリ 209,936 KB
実行使用メモリ 5,328 KB
最終ジャッジ日時 2023-09-02 15:10:04
合計ジャッジ時間 9,508 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 WA -
testcase_09 WA -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
testcase_13 RE -
testcase_14 RE -
testcase_15 RE -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 RE -
testcase_20 RE -
testcase_21 RE -
testcase_22 RE -
testcase_23 RE -
testcase_24 RE -
testcase_25 WA -
testcase_26 WA -
testcase_27 RE -
testcase_28 RE -
testcase_29 RE -
testcase_30 WA -
testcase_31 RE -
testcase_32 RE -
testcase_33 RE -
testcase_34 RE -
testcase_35 RE -
testcase_36 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include "testlib.h"
#include <iostream>
#include <cassert>

const int MIN_N = 1;
const int MAX_N = 100000;

const int MIN_Q = 1;
const int MAX_Q = 100000;

const int MIN_B = 1;
const int MAX_B = 1000000000;

int main(int argc, char** argv) {
    registerValidation(argc, argv);
    const int n = inf.readInt(MIN_N, MAX_N);
    inf.readSpace();
    const int q = inf.readInt(MIN_Q, MAX_Q);
    inf.readEoln();
    for (int i = 0; i < q; ++i) {
        const int l = inf.readInt(1, n);
        inf.readSpace();
        inf.readInt(l, n);
        inf.readSpace();
        inf.readInt(MIN_B, MAX_B);
        inf.readEoln();
    }
    inf.readEof();
    return 0;
}
0