Блог пользователя wraith_11

Автор wraith_11, история, 3 года назад, По-английски

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!

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

Автор wraith_11, история, 3 года назад, По-английски

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!

Полный текст и комментарии »

  • Проголосовать: нравится
  • +1
  • Проголосовать: не нравится

Автор wraith_11, история, 3 года назад, По-английски

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!

Полный текст и комментарии »

  • Проголосовать: нравится
  • -3
  • Проголосовать: не нравится