Show More
Commit Description:
handle the case when problem id or submission id is null. Grader will simply skip such request. Add more report on console (for command line grading)
Commit Description:
handle the case when problem id or submission id is null. Grader will simply skip such request. Add more report on console (for command line grading)
References:
File last commit:
Show/Diff file:
Action:
test/data/yesno_access_problem_home.c | 12 lines | 180 B | text/x-c | CLexer |
#include <stdlib.h>
#include <stdio.h>
int main()
{
char* prob_home = getenv("PROBLEM_HOME");
if(prob_home!=NULL)
printf("yes\n");
else
printf("no\n");
exit(0);
}