zc2707's blog

By zc2707, history, 6 weeks ago, In English

I'm using my Mac, and the hard limit of stack is 65520. This caused me not able to run my program with recursion using huge data. How can I solve it?

Full text and comments »

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

By zc2707, history, 4 months ago, In English

I know it's $$$\Theta\left(n^2\right)$$$ but I don't know how to build a case to hack it.

Full text and comments »

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

By zc2707, history, 5 months ago, In English

I read Blowing up unordered_map, and how to stop getting hacked on it but it doesn't work for GNU C++20 (64). Custom invocation of the hack shown in the blog shows:

x = 107897: 0.064 seconds, sum = 2666686666700000
x = 126271: 0.055 seconds, sum = 2666686666700000

which means that this hack doesn't work.

Full text and comments »

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