Codeforces Round 849(Div-4) Screencast || Thinking Out Loud and Solving All Problems

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

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

  • @DawnCoder
    @DawnCoder Год назад +2

    I was able to do all the problems but not during the contest unfortunately.

  • @joeljacob4685
    @joeljacob4685 Год назад +1

    wow!! your intuiton to problem E was amazing!!

  • @sauravbharti2709
    @sauravbharti2709 Год назад

    Incredible binary search in problem G2, thanks bro

  • @louisfghbvc
    @louisfghbvc Год назад

    your G2 approach is so smart!!!

  • @mixshots1801
    @mixshots1801 Год назад

    thanks for uploading bro , you explain very precisely

  • @saurabhkumarsingh9550
    @saurabhkumarsingh9550 Год назад

    Please make a video on setup of your Sublime with competitive companion

  • @sicklips
    @sicklips Год назад +2

    Could you please mention extentions you are using, like copying sample cases , listen to competitive companion and sample accepted or not ?

  • @ITACHIUCHIHA-dr8sz
    @ITACHIUCHIHA-dr8sz Год назад +1

    Was major missing your streams man !!

  • @adarshanand732
    @adarshanand732 Год назад

    harisam please upload videos for atcoder beginner this latest one i am ur biggest follower it would really be of immense help

  • @jahidulislam1069
    @jahidulislam1069 Год назад

    Need a video of your sublime setup...

  • @Avuvos
    @Avuvos Год назад +1

    I solved E using DP, but your solution is very nice!

    • @stepup7052
      @stepup7052 Год назад

      can you share your solution

    • @erenyeager4452
      @erenyeager4452 Год назад

      can you share your solution?

    • @Avuvos
      @Avuvos Год назад

      @@erenyeager4452
      void solve() {
      int n;
      cin >> n;
      vector A(n);
      for (auto &a: A) cin >> a;

      vector dp(n + 1);
      dp[n][0] = 0;
      dp[n][1] = 0;
      dp[n - 1][0] = A[n - 1];
      dp[n - 1][1] = 0;
      for (int i = n - 2; i >= 0; i--) {
      if (i != n - 2) {
      dp[i][1] = -A[i] + max(dp[i + 1][0] - 2*A[i + 1], dp[i + 1][1] + 2*A[i + 1]);
      dp[i][0] = A[i] + max(dp[i + 1][0], dp[i + 1][1]);
      }
      else {
      dp[i][0] = A[i] + A[i + 1];
      dp[i][1] = -A[i] - A[i + 1];
      }
      }

      cout

  • @secondarypemail7181
    @secondarypemail7181 Год назад +1

    Actually in the first 5 mins the Codeforces main website was down so I had to login to the alternative sites ,hence the time 3 mins was wasted till I was able to solve first 4 problems within 30 mins.Anyone else faced the same problem?

    • @noobnessmee
      @noobnessmee Год назад

      yeah, its a common problm in div 4 contests. 30K ppl gave contest

    • @secondarypemail7181
      @secondarypemail7181 Год назад

      @@noobnessmee Yes even with 3000 rank only +50 delta,it shows that how tough competition is there in div 4 rounds

  • @manaskumarpanda8961
    @manaskumarpanda8961 Год назад +2

    Really loved❤ your all explanation and implementation .
    plz doing this type long video .

  • @akshatchaube1213
    @akshatchaube1213 Год назад

    Can you also upload the codes for all these questions

  • @samarthahuja5914
    @samarthahuja5914 Год назад

    good stream

  • @ahmedhawater7522
    @ahmedhawater7522 Год назад

    keep it up

  • @mradulagrawal1579
    @mradulagrawal1579 Год назад

    can anyone tell me was this contest unrated ?

  • @yagniktalaviya2146
    @yagniktalaviya2146 Год назад

    Hey there, I see there are multiple dark theme mods available for codeforces and yours is better, could you suggest how can we use it?

  • @Harisamsharma
    @Harisamsharma  Год назад

    For those asking about how I automatically parse and run test cases, you can watch this video: ruclips.net/video/gg1cwWMnLhc/видео.html

  • @epicunreal524
    @epicunreal524 Год назад

    Why n-1

  • @shishankrawat2105
    @shishankrawat2105 Год назад +2

    1st like

  • @rachitsaxena7019
    @rachitsaxena7019 Год назад +5

    Divya kon hai 😂