Show More
Commit Description:
Combined judge project to the web project....
Commit Description:
Combined judge project to the web project.
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@378 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
judge/scripts/test/data/yesno_open_file.c
| 13 lines
| 184 B
| text/x-c
| CLexer
|
|
r176 | #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); | ||||
} | ||||