Releases: gi-b716/autoHack
Releases · gi-b716/autoHack
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
5.1.0 - Auto Update
Full Changelog: 5.0.3...5.1.0
5.0.3 - Auto update
Full Changelog: 5.0.2...5.0.3
5.0.2 - Auto update
Full Changelog: 5.0.1...5.0.2
5.0.1 - Auto update
Full Changelog: 5.0.0...5.0.1
5.0.0 - Auto update
Full Changelog: 4.1.5...5.0.0
4.1.5
Full Changelog: 4.1.0...4.1.5