mirror of
https://github.com/QingdaoU/Judger.git
synced 2024-12-28 16:01:41 +00:00
update
This commit is contained in:
parent
72e7b6b5e8
commit
156bb2044e
7
.gitignore
vendored
7
.gitignore
vendored
@ -1 +1,8 @@
|
||||
.idea/
|
||||
build/
|
||||
a.out
|
||||
limit
|
||||
in
|
||||
out
|
||||
runner
|
||||
CMakeLists.txt
|
||||
|
20
test.c
Normal file
20
test.c
Normal file
@ -0,0 +1,20 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
int main()
|
||||
{
|
||||
int *a = NULL;
|
||||
// 150M
|
||||
int v = 150000000;
|
||||
a = (int *)malloc(v);
|
||||
if(a == NULL){
|
||||
printf("error\n");
|
||||
}
|
||||
else {
|
||||
memset(a, 0, v);
|
||||
printf("success\n");
|
||||
}
|
||||
return 15;
|
||||
}
|
Loading…
Reference in New Issue
Block a user