結果

問題 No.2743 Twisted Lattice
ユーザー cho435cho435
提出日時 2024-04-20 02:02:31
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 605 bytes
コンパイル時間 9,094 ms
コンパイル使用メモリ 319,840 KB
実行使用メモリ 20,052 KB
最終ジャッジ日時 2024-04-20 02:02:42
合計ジャッジ時間 10,017 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
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 -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include "testlib.h"
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i,n) for(int i=0;i<(int)(n);i++)

const ll MIN_HW = 1;
const ll MAX_HW = 1000000000;
const ll MIN_N = 2;
const ll MAX_N = 200000;
const ll MIN_A = 1;
const ll MIN_B = 1;

int main(){
	registerValidation();
	ll H = inf.readLong(MIN_HW, MAX_HW);
	inf.readSpace();
	ll W = inf.readLong(MIN_HW, MAX_HW);
	inf.readSpace();
	ll N = inf.readLong(MIN_N, MAX_N);
	inf.readEoln();
	for(int i=0;i<N;i++){
		inf.readLong(MIN_A, H);
		inf.readSpace();
		inf.readLong(MIN_B, W);
		inf.readEoln();
	}
	inf.readEof();
}
0