Don't Let FBHC Ruin Your Day by Incweasing uw stacc size (ㅅ´ ˘ `)

Revision en2, by hocky, 2021-09-25 23:20:03

Hello! Today I'm going to show you how to incwease stacc size in some various opewating systems ( ^◡^)
I'm sowwy if my engwish is bad (⁄ ⁄>⁄ω⁄<⁄ ⁄)⁄

u awe using Mac ⌘ ૮ ˶ᵔ ᵕ ᵔ˶ ა

I used mac for my internship for several months and I used to compile C++ using mac.

Mac iws a bit wetawded bcuzz its weawwy hawd to set up #include <bits/stdc++.h>

g++ -Wl,-stack_size,0x40000000 solution.cpp -o solution

will incwease the stacc size to 1GB, (the hexadecimal is in bytes) ~~~~~ g++ -Wl,-stack_size,0x80000000 solution.cpp -o solution ~~~~~ will incwease the stacc size to 2GB

u awe using Windows ૮₍ ˃ ⤙ ˂ ₎ა

g++ -Wl,--stack,1073741824 solution.cpp -o solution

will incwease the stacc size to 1GB, (the decimal is in bytes)

u awe using any winux wistwibution ฅ՞•ﻌ•՞ฅ

ulimit -s 1024576

will incwease the stacc size to 1GB, (the decimal is in kiwobytes)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en13 English hocky 2022-08-26 20:37:23 254
en12 English hocky 2021-09-27 04:52:55 2 Tiny change: 'imit -s 1024576\ng++ s' -> 'imit -s 1048576\ng++ s'
en11 English hocky 2021-09-26 09:34:12 130 Tiny change: 'instance... (。•́︿•̀。)\n\n## u ' -> 'instance.. (.﹒︣︿﹒︣.)\n\n## u '
en10 English hocky 2021-09-26 09:03:03 0 (published)
en9 English hocky 2021-09-26 09:02:49 1 Tiny change: ',0x2000000 sol' -> ',0x20000000 sol' (saved to drafts)
en8 English hocky 2021-09-25 23:55:43 14 Tiny change: 'ck_size,0x1ffffff solution.' -> 'ck_size,0x2000000 solution.'
en7 English hocky 2021-09-25 23:43:47 19
en6 English hocky 2021-09-25 23:27:00 30 Tiny change: ' 1024576\n~~~~~\n<' -> ' 1024576\ng++ solution.cpp -o solution\n~~~~~\n<' (published)
en5 English hocky 2021-09-25 23:26:26 23
en4 English hocky 2021-09-25 23:25:20 113
en3 English hocky 2021-09-25 23:23:04 314
en2 English hocky 2021-09-25 23:20:03 28
en1 English hocky 2021-09-25 23:19:45 1038 Initial revision (saved to drafts)