Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #define SIZE (1 << 20)
- int main(int argc, char *argv[]) {
- if (argc != 2) {
- return -1;
- }
- int size = 0;
- sscanf(argv[1], "%d", &size);
- for (int i = 0; i < size; i++) {
- long long *mem = malloc(SIZE);
- for (int j = 0; j < SIZE >> 3; j++) {
- mem[j] = 55;
- }
- }
- }
Add Comment
Please, Sign In to add comment