Codeforces Codeton Round 7 | Video Solutions - A to D | by Ankit Ghildiyal | TLE Eliminators

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

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

  • @TLE_Eliminators
    @TLE_Eliminators  Год назад +3

    Please fill the feedback form for PCD : forms.gle/MrTJcaD9sivon49h6

  • @kaushiksen2190
    @kaushiksen2190 Год назад +4

    Thanks to the entire TLE community for taking such wonderful care of us. We truly owe you alot. I have improved in CP so much that you people cannot even imagine. I manifest to reach Expert rating on Codeforces in the next couple of months. Thank you Priyansh. Thank you Ankit for giving such detailed explanations everytime. Thank you TLE

  • @Bharat_Rider
    @Bharat_Rider Год назад +11

    For problem c i saw solution of ecnerwala(rank 3) he had just used the rotate function, he first sorted the arrays and then rotated the first x elements of b and then just calculated beauty. Very easy approach

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

    Thank You So Much @TLE Eliminator Team for the great Contest Discussion, Thanks Ankit Ghildiyal and Priyansh.

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

    Problem D explanation is super good , Thanks , Ankit Ghildiyal

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

    Thank you so much TLE eliminators for this wonderful video explanation of problem solutions. But I would like to highlight some wrong assumptions made at 08:00 time and that is the thing that all B ends up at the starting( right from first A ) and all A at the ends up at the last ( last B ). But yeah all "i" will be chosen from first A till before last B.

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

    Wonderful video. Thank you so much for sharing and explaining so well

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

    Problems of this contest was good

  • @VivekYadav-uy9ts
    @VivekYadav-uy9ts 9 месяцев назад

    Again, Great Explanation! 💫

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

    upload icpc preliminary round solutions

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

    Just wanted to ask....is there any plan to include centroid decomposition and HLD in level 4??

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

    thanks

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

    Can you tell me the template you use for segment tree

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

      You can check out Priyansh's template if that helps: github.com/Priyansh19077/CP-Templates/blob/master/Range%20Queries/Segment_tree.cpp

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

    For the Problem C , I sorted array A and sorted array B in non increasing order . Now I make a count that ai>bi and if that count exactly equals x then print accrodingly , if count less than x print NO , or else if count > x then i reversed first (n-x) elements in the updated array B and again checked condition if holds yes or else NO . This is my intutuion can any one say Why am i getting wrong answer.

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

      have u got why u are getting wrong ans??

    • @VivekYadav-uy9ts
      @VivekYadav-uy9ts 9 месяцев назад

      if a : 1 1 2
      b : 1 2 3 and x -> 1
      So, here your cnt will be '0' which is less than 'x'
      your answer : "NO"
      But actual answer is "YES"
      when a : 1 1 2
      then, b : 2 3 1
      or 3 2 1. here x-> is 1

  • @Red___Beast
    @Red___Beast 10 месяцев назад

    you dont actually need segment tree in problem d