#include #include "testlib.h" using namespace std; int main() { registerValidation(); long long A = inf.readLong((long long)2, (long long)10, "A"); inf.readEoln(); string S = "[0-9]{1, 100000}"; S[4] = A - 1 + '0'; string B = inf.readToken(S, "B"); inf.readEoln();; inf.readEof(); }