Releases: gi-b716/autoHack
Releases · gi-b716/autoHack
6.1.8
6.1.5
Full Changelog: 6.1.4...6.1.5
6.1.4
Full Changelog: 6.1.3...6.1.4
6.1.3
Full Changelog: 6.1.2...6.1.3
6.1.2 - Testlib Checker
Full Changelog: 6.1.1...6.1.2
6.1.1 - Testlib Checker
Full Changelog: 6.1.0...6.1.1
6.1.0 - Testlib Checker
Checker Example:
#include "testlib.h"
#include <cmath>
int main(int argc, char *argv[])
{
registerTestlibCmd(argc, argv);
int pans = ans.readInt(), pout = ouf.readInt();
if (pans == abs(pout)) {
quitf(_ok, "The answer is correct.");
}
else {
quitf(_wa, "The answer is wrong: expected = %d, fount = %d.", pans, pout);
}
return 0;
}
Full Changelog: 6.0.0...6.1.0
6.0.0 - Custom Checker
Checker Example:
#include <fstream>
std::ifstream ansf, outf;
int ans, out;
int main(int argc, char const *argv[]) {
ansf.open(argv[2], std::ios::in);
outf.open(argv[1], std::ios::in);
ansf >> ans;
outf >> out;
return ans == abs(out);
}
Return code:
1
: Accept0
: Wrong answer
Full Changelog: 5.1.3...6.0.0
5.1.3
Full Changelog: 5.1.2...5.1.3
5.1.2 - Change Mirror
Full Changelog: 5.1.0...5.1.2