Created
February 14, 2026 01:17
-
-
Save ryuichiueda/9a2eed8123cba42edd77c6ecf93ebe32 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdlib.h> | |
| #include <unistd.h> | |
| int main() { | |
| char *p = malloc(1024*1024*1024); //1GiBメモリ確保 | |
| for(int i=0;i<1024*1024*1024;i+=4096) | |
| p[i] = 111; | |
| exit(0); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment