Open GoogleCodeExporter opened 9 years ago
Actually the tool exits with error code 1 if some error occurs, otherwise it
just exits with error code 0. Do you mean changing the error code to 1 in case
you get a wrong answer?
Original comment by jor...@google.com
on 20 Jun 2011 at 7:09
exactumundo
Original comment by veltzerd...@gmail.com
on 21 Jun 2011 at 11:44
Perhaps split in 4 error codes (or more) ?
Example
- 0 : OK
- 1 : Errors occurs (like current)
- 2 : Incorrect
- 3 : Rejected
Original comment by Isam...@gmail.com
on 15 Apr 2012 at 12:45
I second this
Original comment by veltzerd...@gmail.com
on 15 Apr 2012 at 2:16
I would like to preserve the exit code for the tool to indicate actual internal
errors. What about and option to minimize the scripts' output to the minimum
possible so it can be parsed easily by a wrapper?
In this silent mode the scripts will print the following to the stdout:
gcj_clear_contest: Nothing
gck_download_input: Nothing
gcj_get_status: Only the scoreboard
gcj_init_contest: Nothing
gcj_renew_login: Nothing
gcj_submit_solution: (Correct|Incorrect|Rejected: Reason)
What do you think about that?
Original comment by jor...@google.com
on 9 Jun 2012 at 1:36
Original comment by jor...@google.com
on 9 Jun 2012 at 1:36
Original issue reported on code.google.com by
veltzerd...@gmail.com
on 6 Jun 2011 at 6:20