Show More
Commit Description:
[grader] import script now support raw with testruns...
Commit Description:
[grader] import script now support raw with testruns git-svn-id: http://theory.cpe.ku.ac.th/grader/judge/trunk/scripts@267 6386c4cd-e34a-4fa8-8920-d93eb39b512e
File last commit:
Show/Diff file:
Action:
test/data/yesno_open_file.c | 13 lines | 184 B | text/x-c | CLexer |
jittat
[grader] new test on accessing PROBLEM_HOME and openning files...
r35 #include <stdlib.h>
#include <stdio.h>
int main()
{
FILE *fp = fopen("/bin/ls","r");
if(fp!=NULL) {
printf("yes\n");
fclose(fp);
} else
printf("no\n");
exit(0);
}