Show More
Commit Description:
fixed judge craching when some test case is not present...
Commit Description:
fixed judge craching when some test case is not present git-svn-id: http://theory.cpe.ku.ac.th/grader/judge/trunk/scripts@367 6386c4cd-e34a-4fa8-8920-d93eb39b512e
File last commit:
Show/Diff file:
Action:
test/data/test_run_stat.c | 29 lines | 381 B | text/x-c | CLexer |
/*
LANG: C
*/
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a,b,d;
int i,j;
char *c = malloc(100000);
scanf("%d %d",&a,&b);
d = a+b;
// printf("%d\n",a+b);
for(j=0; j<1; j++)
for(i=0; i<100000000; i++) {
b+=a;
a++;
}
if((c!=NULL) || (b<100))
b++;
if(b==100)
printf("hello");
else
printf("%d\n",d);
return 0;
}