Show More
Commit Description:
[grader] import script now support raw with testruns...
Commit Description:
[grader] import script now support raw with testruns git-svn-id: http://theory.cpe.ku.ac.th/grader/judge/trunk/scripts@267 6386c4cd-e34a-4fa8-8920-d93eb39b512e
File last commit:
Show/Diff file:
Action:
test/data/add_too_much_memory_dynamic.c | 19 lines | 239 B | text/x-c | CLexer |
jittat
[grader] [MERGED] Merged new-arch-branch changes 74:105 into the trunk...
r23 #include <stdio.h>
#include <stdlib.h>
int main()
{
int a,b;
char *huge_array;
scanf("%d %d",&a,&b);
huge_array = (char *)malloc(5000000);
if(huge_array==NULL)
printf("NO!");
else
printf("%d\n",a+b);
return 0;
}