feat(bfs): new problem formated

This commit is contained in:
2025-11-07 08:39:49 -03:00
parent 8db9d73aab
commit fcd9e3e254
223 changed files with 374705 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#include "testlib.h"
#include <bits/stdc++.h>
using namespace std;
int main(int argc, char* argv[]) {
setName("compare two signed int%d's line by line", 8 * int(sizeof(int)));
registerTestlibCmd(argc, argv);
int T = inf.readInt();
for (int t = 0; t < T; t++) {
int ja = ans.readInt();
int pa = ouf.readInt();
if (ja != pa)
quitf(_wa, "on test %d: expected %d, found %d", t + 1, ja, pa);
}
quitf(_ok, "all answers are correct");
}