Skip to content

Releases: gi-b716/autoHack

6.1.0 - Testlib Checker

16 Nov 15:55
6.1.0
dc9b7c0
Compare
Choose a tag to compare

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

16 Nov 07:01
Compare
Choose a tag to compare

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: Accept
  • 0: Wrong answer

Full Changelog: 5.1.3...6.0.0

5.1.3

16 Nov 02:56
Compare
Choose a tag to compare

Full Changelog: 5.1.2...5.1.3

5.1.2 - Change Mirror

15 Nov 15:37
5.1.2
24dfa6d
Compare
Choose a tag to compare

5.1.0 - Auto Update

15 Nov 09:56
5.1.0
2677b1e
Compare
Choose a tag to compare

5.0.3 - Auto update

14 Nov 15:18
5.0.3
8f2c3f4
Compare
Choose a tag to compare

5.0.2 - Auto update

14 Nov 15:07
5.0.2
a0e9888
Compare
Choose a tag to compare

5.0.1 - Auto update

14 Nov 15:02
5.0.1
2c548bc
Compare
Choose a tag to compare

5.0.0 - Auto update

14 Nov 14:31
5.0.0
eaa3cc8
Compare
Choose a tag to compare

4.1.5

14 Nov 12:54
Compare
Choose a tag to compare

Full Changelog: 4.1.0...4.1.5