Codeforces Round 955 | Video Solutions - A to D | by Abhinav Kumar | TLE Eliminators

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ก.ค. 2024
  • Here are the video solutions in the form of a post-contest discussion for problems A, B, C, D of Codeforces Round 955 (Div 2). The live discussion was done with students of TLE Eliminators, this is the recording of the same. We hope this will be useful for you in up-solving this contest.
    📢Check out handpicked problems by Priyansh himself, on our CP-31 sheet: www.tle-eliminators.com/cp-sheet
    Solution Codes:
    Problem A: codeforces.com/contest/1982/s...
    Problem B: codeforces.com/contest/1982/s...
    Problem C: codeforces.com/contest/1982/s...
    Problem D: codeforces.com/contest/1982/s...
    Be sure to check out TLE Eliminators.
    Website: www.tle-eliminators.com/
    Instagram: / tle_eliminators
    Linkedin: / tle-eliminators
    Twitter: / tle_eliminators
    TLE Community Discord Server: / discord
    Timestamps:-
    0:00 Problem A
    9:11 Problem B
    40:25 Problem C
    1:06:00 Problem D

ความคิดเห็น • 35

  • @TLE_Eliminators
    @TLE_Eliminators  หลายเดือนก่อน +2

    Please fill the feedback form: forms.gle/8nWcWEMQqBGshTH66

  • @yashvardhansharma4945
    @yashvardhansharma4945 หลายเดือนก่อน +4

    Best channel for promoting CP culture in India

  • @kondekarvaishnavi2348
    @kondekarvaishnavi2348 หลายเดือนก่อน +3

    The way u explained Problem D is so awesome. Tx

  • @gigachad2419
    @gigachad2419 15 วันที่ผ่านมา +1

    Great Intuition and Explanation for D.

  • @user-je1nh6qq7x
    @user-je1nh6qq7x หลายเดือนก่อน +5

    please increase audio quality

  • @youtubeuserlovesyoutube2207
    @youtubeuserlovesyoutube2207 หลายเดือนก่อน +1

    Damnn so smooth explanation of D... Lot's of love ❤❤

  • @Abc-lr4bf
    @Abc-lr4bf หลายเดือนก่อน +3

    Very good explanation . Thankss !

  • @Adarsh_agrahari
    @Adarsh_agrahari หลายเดือนก่อน +1

    ur explenation is too good

  • @LogicArena01
    @LogicArena01 หลายเดือนก่อน +1

    Thanks for the solution video ❤

  • @ppl_call_me_tima
    @ppl_call_me_tima หลายเดือนก่อน +1

    thanks. very good explanation of A,B

  • @NeverGive-Up..26
    @NeverGive-Up..26 หลายเดือนก่อน +1

    Awesome explanation

  • @vishalmishra-ue4te
    @vishalmishra-ue4te หลายเดือนก่อน +1

    Thanks bro!

  • @hardikpatel352
    @hardikpatel352 หลายเดือนก่อน +1

    Thanks a lot

  • @anandraj-xj5ge
    @anandraj-xj5ge หลายเดือนก่อน +1

    Good explanation

  • @MdAlAmin-bz7uh
    @MdAlAmin-bz7uh หลายเดือนก่อน

    Awesome

  • @addyamishra2386
    @addyamishra2386 หลายเดือนก่อน +1

    can we solve the third question using prefix sum

  • @sadimahmud256
    @sadimahmud256 หลายเดือนก่อน

    for(int i = 0, j = 0; j < n;){
    if(total < l) total += a[j++];
    if(total >= l and total r and i < j) total -= a[i++];
    }
    can some one find the corner case for this ? its getting wrong on case 96.

  • @jojokawai5841
    @jojokawai5841 หลายเดือนก่อน

    what would be difficulty rating of problem b

    • @AnkitRaj-ux7lv
      @AnkitRaj-ux7lv หลายเดือนก่อน

      kya pata kue ye 1200 ka hai but i think it must be 1400

  • @adii16089
    @adii16089 หลายเดือนก่อน

    Sir I gave the contest yesterday and I wasn't able to solve any of these questions ..I have been learning DSA since 1-2 month ..Sir should I continue giving these contests or should I only practice in Leetcode?? Though I understood your explanations.. I have I doubt that is looking solution making me weaker or stronger in coding.. Sir what do you suggest??

    • @MikePowell1991
      @MikePowell1991 หลายเดือนก่อน

      How much DSA u have completed

    • @abhinavkumariitism
      @abhinavkumariitism หลายเดือนก่อน

      See, When u give the contests.. then only u can know.. how much u know. U can practise a lot.. but, solving problems in practise, and during a live contest (under time pressure and all), are different things. That's y giving contests is important.
      Now, since u r beginning.. there is no problem if u aren't able to solve any ques during the contest.. as u give more contests, u will start to improve there.
      What i would advise is, u can start with codechef and atcoder(beginner contest) 1st.. in CF u can give div3/div4.. but, div2 is a bit higher level for a beginner, u can leave that for now.

  • @hashirahmad8719
    @hashirahmad8719 หลายเดือนก่อน +4

    in the problem (A):
    even if the same is leading before and after Dima saw the score, there is still a scenario where the scores gets equalised...
    for instance
    initial score: 3:2
    final score : 4:3
    3:2
    *3:3*(equal)
    4:3
    and so on....
    explain?

    • @Your_Soul_13
      @Your_Soul_13 หลายเดือนก่อน +1

      same doubt

    • @Entertainmentexe
      @Entertainmentexe หลายเดือนก่อน +3

      the question was is there a chance two teams were not equalized. Not is there a chance two teams are equalized.
      if the score was 3 : 2 before and the score became 4 : 3 later. There is a scenario where the score was not equal. for example :-
      3 : 2 -> 4 : 2 -> 4 : 3

  • @user-nt8cn3pp5f
    @user-nt8cn3pp5f หลายเดือนก่อน

    i have a doubt
    for soccer quetion
    if initial score are 1,2 and final goals are 4,5 so according to CF No draw can happen but i can prove that draw is possible
    1 2
    2 2
    3 2
    4 2
    4 3
    4 4
    4 5

    • @Noob_Coder1234
      @Noob_Coder1234 หลายเดือนก่อน +6

      bro they are not saying that draw will happen never they are asking whether there is any scenario when draw will not happen😂

    • @user-nt8cn3pp5f
      @user-nt8cn3pp5f หลายเดือนก่อน +1

      @@Noob_Coder1234 yep aab saamjh aa gya
      Ye loog bdi ajeeb statement likhte hain saare english ki aaise ki taise ho jati hai😭

    • @Noob_Coder1234
      @Noob_Coder1234 หลายเดือนก่อน +1

      @@user-nt8cn3pp5f ha sahi kaha muze bhi kal ka statement padhke samaj nahi aaya so sidha test cases pe gaya fir lages samjha kya Krna hain

    • @user-nt8cn3pp5f
      @user-nt8cn3pp5f หลายเดือนก่อน

      @@Noob_Coder1234 wo to aacha hua kal contest nahi diya maine 😢

    • @Noob_Coder1234
      @Noob_Coder1234 หลายเดือนก่อน

      @@user-nt8cn3pp5f ha hamne diya mera gir gaya 🥲

  • @39_jatinjain4
    @39_jatinjain4 หลายเดือนก่อน

    Can anyone tell why wrong answer 475th numbers differ - expected: '1', found: '0'
    void solve() {
    ll n, l, r;
    cin >> n >> l >> r;
    v(n);
    stackst;
    for (int i = n - 1; i >= 0; i--) st.push(v[i]);
    ll cnt = 0;
    while (!st.empty()) {
    if (st.top() >= l && st.top() = l && st.top() = l && sum

    • @paarthjindal4100
      @paarthjindal4100 หลายเดือนก่อน +1

      You are not counting all the cases
      for example take this test case
      3 8 11
      2 3 7
      your code will give 0 but the answer should be 1 as 3 + 7 is in the given range but you don't consider this by this method as you are adding 2 and 3 and then checking for 5 + 7 and popping out all of them dry run if you didn't understood

    • @39_jatinjain4
      @39_jatinjain4 หลายเดือนก่อน

      @@paarthjindal4100 ohh! got it Thank you 🙂