Show More
Commit Description:
locks dir based on temp file, does not copy dir when copying scripts, added proper rescue for ln_s
Commit Description:
locks dir based on temp file, does not copy dir when copying scripts, added proper rescue for ln_s
File last commit:
Show/Diff file:
Action:
test/data/add_too_much_memory_dynamic.c | 20 lines | 252 B | text/x-c | CLexer |
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a,b;
int r;
char *huge_array;
r = scanf("%d %d",&a,&b);
huge_array = (char *)malloc(5000000);
if(huge_array==NULL)
printf("NO!");
else
printf("%d\n",a+b);
return 0;
}