Muhammad_mhs's blog

By Muhammad_mhs, history, 5 weeks ago, In English

This problem from timus , For this problem, I got AC by this solution. The solution is not working in my codeblocks IDE, but when I reduce the constraints then it works in my CodeBlocks IDE. Currently I have Used codeblocks 20.03 version. Can anyone please help me ? Thanks in advance.

 
 
 
 
  • Vote: I like it
  • +9
  • Vote: I do not like it

»
4 weeks ago, # |
  Vote: I like it +19 Vote: I do not like it

What stack size are you compiling with? My guess is that you're not compiling with enough stack size locally, as the default local stack size tends to be quite small. In any case, here's how to add the option in CodeBlocks.

  • »
    »
    4 weeks ago, # ^ |
      Vote: I like it +1 Vote: I do not like it

    I increase my stack size up to 52800000. Alhamdulillah, Finally it works. I waste about a day for this issue. Thanks a lot man.