結果

問題 No.1675 Strange Minimum Query
ユーザー akakimidori
提出日時 2021-08-15 01:54:46
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 662 bytes
コンパイル時間 8,322 ms
コンパイル使用メモリ 240,684 KB
最終ジャッジ日時 2025-01-23 22:19:51
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 8 RE * 26
権限があれば一括ダウンロードができます

ソースコード

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