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

Поділитися
Вставка
  • Опубліковано 27 сер 2024

КОМЕНТАРІ • 35

  • @TLE_Eliminators
    @TLE_Eliminators  2 місяці тому +2

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

  • @yashvardhansharma4945
    @yashvardhansharma4945 Місяць тому +4

    Best channel for promoting CP culture in India

  • @kondekarvaishnavi2348
    @kondekarvaishnavi2348 2 місяці тому +3

    The way u explained Problem D is so awesome. Tx

  • @gigachad2419
    @gigachad2419 Місяць тому +1

    Great Intuition and Explanation for D.

  • @user-je1nh6qq7x
    @user-je1nh6qq7x 2 місяці тому +5

    please increase audio quality

  • @youtubeuserlovesyoutube2207
    @youtubeuserlovesyoutube2207 Місяць тому +1

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

  • @Abc-lr4bf
    @Abc-lr4bf 2 місяці тому +3

    Very good explanation . Thankss !

  • @Adarsh_agrahari
    @Adarsh_agrahari 2 місяці тому +1

    ur explenation is too good

  • @ppl_call_me_tima
    @ppl_call_me_tima 2 місяці тому +1

    thanks. very good explanation of A,B

  • @NeverGive-Up..26
    @NeverGive-Up..26 2 місяці тому +1

    Awesome explanation

  • @LogicArena01
    @LogicArena01 2 місяці тому +1

    Thanks for the solution video ❤

  • @hardikpatel352
    @hardikpatel352 2 місяці тому +1

    Thanks a lot

  • @anandraj-xj5ge
    @anandraj-xj5ge 2 місяці тому +1

    Good explanation

  • @hashirahmad8719
    @hashirahmad8719 2 місяці тому +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 2 місяці тому +1

      same doubt

    • @Entertainmentexe
      @Entertainmentexe 2 місяці тому +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

  • @vishalmishra-ue4te
    @vishalmishra-ue4te 2 місяці тому +1

    Thanks bro!

  • @sadimahmud256
    @sadimahmud256 2 місяці тому

    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.

  • @addyamishra2386
    @addyamishra2386 2 місяці тому +1

    can we solve the third question using prefix sum

  • @adii16089
    @adii16089 2 місяці тому

    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 2 місяці тому

      How much DSA u have completed

    • @abhinavkumariitism
      @abhinavkumariitism 2 місяці тому

      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.

  • @MdAlAmin-bz7uh
    @MdAlAmin-bz7uh 2 місяці тому

    Awesome

  • @jojokawai5841
    @jojokawai5841 2 місяці тому

    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

  • @user-nt8cn3pp5f
    @user-nt8cn3pp5f 2 місяці тому

    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 2 місяці тому +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 2 місяці тому +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 2 місяці тому +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 2 місяці тому

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

    • @Noob_Coder1234
      @Noob_Coder1234 2 місяці тому

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

  • @39_jatinjain4
    @39_jatinjain4 2 місяці тому

    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 2 місяці тому +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 2 місяці тому

      @@paarthjindal4100 ohh! got it Thank you 🙂