Skip to content

Commit

Permalink
Remove non-standard judgeerror.txt from example problems
Browse files Browse the repository at this point in the history
  • Loading branch information
gkreitz committed Aug 13, 2024
1 parent 1d5fd84 commit 8808121
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ const int EXITCODE_AC = 42;
const int EXITCODE_WA = 43;
const std::string FILENAME_AUTHOR_MESSAGE = "teammessage.txt";
const std::string FILENAME_JUDGE_MESSAGE = "judgemessage.txt";
const std::string FILENAME_JUDGE_ERROR = "judgeerror.txt";
const std::string FILENAME_SCORE = "score.txt";

#define USAGE "%s: judge_in judge_ans feedback_dir < author_out\n"
Expand Down Expand Up @@ -107,7 +106,7 @@ void wrong_answer(const std::string &msg, ...) {
void judge_error(const std::string &msg, ...) {
va_list pvar;
va_start(pvar, msg);
vreport_feedback(FILENAME_JUDGE_ERROR, msg, pvar);
vreport_feedback(FILENAME_JUDGE_MESSAGE, msg, pvar);
assert(0);
}

Expand Down
3 changes: 1 addition & 2 deletions examples/guess/output_validators/guess_validator/validate.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ const int EXITCODE_AC = 42;
const int EXITCODE_WA = 43;
const std::string FILENAME_AUTHOR_MESSAGE = "teammessage.txt";
const std::string FILENAME_JUDGE_MESSAGE = "judgemessage.txt";
const std::string FILENAME_JUDGE_ERROR = "judgeerror.txt";
const std::string FILENAME_SCORE = "score.txt";

#define USAGE "%s: judge_in judge_ans feedback_dir < author_out\n"
Expand Down Expand Up @@ -107,7 +106,7 @@ void wrong_answer(const std::string &msg, ...) {
void judge_error(const std::string &msg, ...) {
va_list pvar;
va_start(pvar, msg);
vreport_feedback(FILENAME_JUDGE_ERROR, msg, pvar);
vreport_feedback(FILENAME_JUDGE_MESSAGE, msg, pvar);
assert(0);
}

Expand Down

0 comments on commit 8808121

Please sign in to comment.