Show More
Commit Description:
translates test_request input/output file paths for remote grading test_request
Commit Description:
translates test_request input/output file paths for remote grading test_request
File last commit:
Show/Diff file:
Action:
test/data/add_too_much_memory_dynamic.c | 20 lines | 256 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;
jittat
fixed engine test source codes to avoid gcc warning of unused return values...
r75 int r;
jittat
[grader] [MERGED] Merged new-arch-branch changes 74:105 into the trunk...
r23 char *huge_array;
jittat
fixed engine test source codes to avoid gcc warning of unused return values...
r75 r = scanf("%d %d",&a,&b);
jittat
[grader] [MERGED] Merged new-arch-branch changes 74:105 into the trunk...
r23
Jittat Fakcharoenphol
reports running time, checks exit status; modified running time test case, memory test case.
r114 huge_array = (char *)malloc(5*1024*1024);
jittat
[grader] [MERGED] Merged new-arch-branch changes 74:105 into the trunk...
r23 if(huge_array==NULL)
printf("NO!");
else
printf("%d\n",a+b);
return 0;
}