wraith_11's blog

By wraith_11, history, 2 years ago, In English

codeforces uses this command to compile C++ Codes g++ -Wall -Wextra -Wconversion -static -DONLINE_JUDGE -Wl,--stack=268435456 -O2 -std=c++20 <source> . When I am using this command on my Macbook Air M1, it's giving me the error unknown option: --stack=268435456. Can anyone tell me how do I increase the stack size for c++ codes during compilation on a Macbook, I am using gcc-homebrew 11.2.0

My compilation code is g++ -Wconversion -Davik_local -Wl,--stack=268435456 -O2 -std=c++20 Thank You!

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By wraith_11, history, 2 years ago, In English

I was trying to solve this problem today on codeforces but I was unable to find the logic behind winning the game. Can someone please help me with the approach to this problem? Thanks in advance!

Full text and comments »

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

By wraith_11, history, 2 years ago, In English

Hi! I am currently in 2nd year in CS Engineering at an Indian college. Recently I have come to know about ACM ICPC and I want to participate in the contest with my team. But on ICPC's site, I can't see any option for registering for the upcoming ICPC round, looks like this year registration has Ended. Can someone please tell me when(approximate timing) will the next round of ICPC will start where new teams will be able to register for online qualification rounds? Thanks in advance!

Full text and comments »

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