| 
 | 
вернуться в форумThe solution is much simplier than I thought I tried a lot of variations of self-made stacks but all of them failed. Then I just used 1000 std::stacks with Visual C++ 2022 compiler (not x64) and it worked, using only 640 KB of memory.  |  
  | 
|