How I set up my Sublime Text for Competitive Coding| Add time to snippets | Precompile bits/stdc++.h

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 27

  • @vaibhavsingh8933
    @vaibhavsingh8933 27 дней назад +2

    i changed my compile and lint_compile cmd to g++-14 but on pressing control + b it says g++-14 command not found, even though on compiling it myself on terminal by using g++-14 the program runs perfectly fine

  • @peacefps245
    @peacefps245 5 месяцев назад

    thank you so much mann after investing 3-4 hours finding a perfect solution for my mac sublime thanks a lot man

  • @Abc-lr4bf
    @Abc-lr4bf 8 месяцев назад

    great work rishabh , literally there is no such detailed video regarding setting up sublime in mac , also thanks for your video on fixing error for policy based ds in mac

  • @pradyumansinghshekhawat7364
    @pradyumansinghshekhawat7364 3 месяца назад

    thanks a lot
    it was the best setup

  • @technotrick5634
    @technotrick5634 2 месяца назад +1

    for linux user do sudo while precompilng the header file

  • @user-sz6sr6ql3l
    @user-sz6sr6ql3l 8 месяцев назад

    Sir I am facing problem in solving question on codechef the problems rated 1650+ dont have proper annotation so once i try i cant understand how this question was done?

    • @rishabhxchoudhary
      @rishabhxchoudhary  8 месяцев назад

      Can you give an example problem? What do you exactly mean by “proper annotation”?

  • @praviiiin
    @praviiiin 8 месяцев назад

    how do I use pre-complied header using fastOlympiccpp package?

    • @rishabhxchoudhary
      @rishabhxchoudhary  8 месяцев назад

      It will get used automatically if ur tags are correct.

    • @praviiiin
      @praviiiin 8 месяцев назад

      @@rishabhxchoudhary tags as in? my fastolympiccpp package settings show
      "compile_cmd": "g++-13 '{source_file}' -std=gnu++20 -o {file_name}"
      I used the command in all possible ways like keeping source file name in between as shown above or like you did but no help. Also fastoylmpic package does not use the stdc++.h file in opt/homebrew dir but instead /user/local/include/bits (if that helps at all)
      I can't understand what's wrong with it

    • @rishabhxchoudhary
      @rishabhxchoudhary  8 месяцев назад

      @@praviiiin press cmd shift p and open settings of fastolumpiccoding. Make sure ur compile command is using g++-13. If you are getting bits/stdc++ not found it means you are using normal g++. So make sure its g++-13

    • @praviiiin
      @praviiiin 8 месяцев назад

      @hxchoudhary I realised I was making changes in the (OSX) file not the .sublime-settings file that actually affects how the package works in sublime. Changed the complier to g++-13 and what used to take 2 cursor blinks at "compiling" now takes only 1. But I wanted to know if it was actually using the pre-complied file or not so I deleted it and ran it and yea I could notice the difference now I was wondering which stdc++.h file was it using the one in local/include/bits or cellar/gcc/... so I deleted them one by one and it was still working without the file being there..idk how..I renamed the file still it was working lol don't know what's going on but thanks! Also it would be great if you setup fastolympiccoding packaging with autoSubmit, auto parse testCase and StressTest like features. I read something here codeforces.com/blog/entry/91409

  • @methamphetamine36a10
    @methamphetamine36a10 8 месяцев назад +1

    Thanks 👍🙏

  • @raunakbhalla164
    @raunakbhalla164 7 месяцев назад

    How do i turn off the Purchase license popups ?

  • @methamphetamine36a10
    @methamphetamine36a10 8 месяцев назад +1

    please make a video about hacking solution