Show More
Commit Description:
add a new modified sandbox "box"...
Commit Description:
add a new modified sandbox "box" The original file was pulled from moe (git://git.ucw.cz/moe.git) by Martin Mares's commit on Sun Jul 29 23:53:56 2012 +0200 The modification is to make it separately compilable and add more option to specify additional argument to the program. (Please see usage guide) run `gcc -o box -std=c99 box64-new.c` to compile.
File last commit:
Show/Diff file:
Action:
test/data/test_run_stat.c | 32 lines | 405 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);
int r;
r = 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);
a += r;
return 0;
}