feat: added new input files and altered problem description slightly

This commit is contained in:
2025-11-02 14:41:02 -03:00
parent a1b4f617c1
commit 669c13147b
8 changed files with 561 additions and 10 deletions

View File

@@ -6,14 +6,16 @@ using namespace std;
int main(int argc, char* argv[]) {
setName("compare two signed int%d's", 8 * int(sizeof(int)));
setName("compare various two signed int%d's", 8 * int(sizeof(int)));
registerTestlibCmd(argc, argv);
int ja = ans.readInt();
int pa = ouf.readInt();
int t = inf.readInt();
while (t--) {
int ja = ans.readInt();
int pa = ouf.readInt();
if (ja != pa)
quitf(_wa, "expected %d, found %d", ja, pa);
}
if (ja != pa)
quitf(_wa, "expected %d, found %d", ja, pa);
quitf(_ok, "answer is %d", ja);
quitf(_ok, "all answers are correct");
}