Show More
Commit Description:
upgraded rails to 2.3.5, removed rspec tasks from Rakefile
Commit Description:
upgraded rails to 2.3.5, removed rspec tasks from Rakefile
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); | ||||
} | ||||