結果

問題 No.1673 Lamps on a line
ユーザー ekaraageekaraage
提出日時 2021-08-02 16:41:08
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 454 bytes
コンパイル時間 7,566 ms
コンパイル使用メモリ 305,404 KB
実行使用メモリ 4,388 KB
最終ジャッジ日時 2023-09-02 15:03:01
合計ジャッジ時間 8,085 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#include "testlib.h"
using namespace std;
using ll = long long;

int main(int argc,char** argv){
    registerValidation(argc, argv);
    ll N = inf.readInt(1, 500000, "N");
    inf.readSpace();
    ll Q = inf.readInt(1, 100000, "Q");
	inf.readEoln();
    for (ll i = 0; i < Q;i++){
        ll L = inf.readInt(1, N, "L");
        inf.readSpace();
        ll R = inf.readInt(L, N, "R");
		inf.readEoln();
    }
    inf.readEof();
}
0