0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-24 00:28:48 +00:00
OI-codes/S2OJ/2086/data/val.cpp

35 lines
606 B (Stored with Git LFS)
C++

/**
* @file S2OJ/2086/val.cpp
* @author Baoshuo <i@baoshuo.ren>
* @url https://baoshuo.ren
* @date 2023-03-30
* @license GPL-3.0
*/
#include "testlib.h"
#include <limits>
#include <string>
int main() {
registerValidation();
int n = inf.readInt(1, 500, "n");
inf.readSpace();
int m = inf.readInt(1, 500, "m");
inf.readSpace();
int e = inf.readInt(0, 5e4, "e");
inf.readEoln();
for (int i = 1; i <= e; i++) {
inf.readInt(1, n, "u");
inf.readSpace();
inf.readInt(1, m, "v");
inf.readEoln();
}
inf.readEof();
return 0;
}