0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-25 17:12:02 +00:00
OI-codes/S2OJ/2104/data/val.cpp

33 lines
547 B (Stored with Git LFS)
C++

/**
* @file S2OJ/2104/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, 2e4, "n");
inf.readSpace();
int m = inf.readInt(1, 1e5, "m");
inf.readEoln();
for (int i = 1; i <= m; i++) {
inf.readInt(1, n, "u");
inf.readSpace();
inf.readInt(1, n, "v");
inf.readEoln();
}
inf.readEof();
return 0;
}