You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some problems require a judging function made specifically for that problem. For example: "find a prime factor of a number". In the example, any of the factors of the number will work so we cannot do a simple string comparison like the current judges.
A possible implementation is to add another parameter in the problem specifications file which contains the Python code for the judge function and load it with exec when we are judging. To signify that there is a non-standard judge function, the judge parameter in the problems specifications file can be set to something like custom.
The text was updated successfully, but these errors were encountered:
Some problems require a judging function made specifically for that problem. For example: "find a prime factor of a number". In the example, any of the factors of the number will work so we cannot do a simple string comparison like the current judges.
A possible implementation is to add another parameter in the problem specifications file which contains the Python code for the judge function and load it with
exec
when we are judging. To signify that there is a non-standard judge function, thejudge
parameter in the problems specifications file can be set to something likecustom
.The text was updated successfully, but these errors were encountered: