Show More
Commit Description:
fixed too many open file error
Commit Description:
fixed too many open file error
References:
File last commit:
Show/Diff file:
Action:
test/data/test_run_stat.c
| 30 lines
| 394 B
| text/x-c
| CLexer
|
|
r42 | /* | ||
LANG: C | ||||
*/ | ||||
#include <stdio.h> | ||||
#include <stdlib.h> | ||||
int main() | ||||
{ | ||||
int a,b,d; | ||||
int i,j; | ||||
char *c = malloc(100000); | ||||
|
r75 | int r; | ||
|
r42 | |||
|
r75 | r = scanf("%d %d",&a,&b); | ||
|
r42 | 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; | ||||
} | ||||