Codechef Starters 139 | Video Solutions - A to D | by Ankit Ghildiyal | TLE Eliminators

Here are the video solutions in the form of a post-contest discussion for problems A, B, C, D of Codechef Starters 133 (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: pastebin.com/6d0eSp0R
Problem B: pastebin.com/wm09HmT7
Problem C: pastebin.com/2GpuKxKP
Problem D: pastebin.com/T1GLDDrf
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
14:28 Problem B
33:09 Problem C
56:25 Problem D

Пікірлер: 25

  • @TLE_Eliminators
    @TLE_EliminatorsАй бұрын

    Please fill the feedback form: forms.gle/wTgYuKAKSp5CsgGK7

  • @pratyushdubey5362
    @pratyushdubey5362Ай бұрын

    It would've been better if you as the educator explained those observations rather than just listening to those students who were able to solve it and write it down on the board and solving the sum again. You just came to solve the questions again on a video call rather than explaining them.Worst editorial from TLE team.

  • @crazymemes4080
    @crazymemes4080Ай бұрын

    I don't know how they explain:) totally waste of time.

  • @PrinceKumar-gl5fk

    @PrinceKumar-gl5fk

    Ай бұрын

    Agreed

  • @kousthubhyadavalli1077
    @kousthubhyadavalli1077Ай бұрын

    can we get the solution code as well?

  • @VivekYadav-uy9ts

    @VivekYadav-uy9ts

    Ай бұрын

    Bro check the description!

  • @VivekYadav-uy9ts
    @VivekYadav-uy9tsАй бұрын

    In Problem 'B' in couldn't get this oberservation that it is N / GPF(N), after this i was able to solve it by my own, Thnx for the explanation Ankit Bro!

  • @stuartYoung559
    @stuartYoung559Ай бұрын

    HEY ! why cp31 sheet is not accessible from website ?

  • @anandraj-xj5ge
    @anandraj-xj5geАй бұрын

    I tried to fix the frst permutation as 1,2,3,4 then wrote code to find all permutations and then do ai-bi then check is there any pattern. Because writing permutations can become confusing. Is it a good practice or should I change ?

  • @ayushshshsh

    @ayushshshsh

    Ай бұрын

    even I do this sometimes

  • @priyanshkumariitd

    @priyanshkumariitd

    Ай бұрын

    I also did the same

  • @kondekarvaishnavi2348
    @kondekarvaishnavi2348Ай бұрын

    Worst explanation ever😮‍💨🤮🤮

  • @professor8628
    @professor8628Ай бұрын

    why your website is not working??

  • @roshangeorge97

    @roshangeorge97

    Ай бұрын

    its under maintainace ig

  • @Noob_Coder1234
    @Noob_Coder1234Ай бұрын

    Great Explaination Mr Ankit

  • @prakashk.pandey9298
    @prakashk.pandey9298Ай бұрын

    Solution for sum of N :- #include using namespace std; const int m=1e6+1; vector allprime; unordered_map mp; vector isprime(m+1,0); void fun2(){ vector vis(m,0); for(int i=2; i>k; if((k%2)==0){ cout

  • @siddheshpandey7905
    @siddheshpandey7905Ай бұрын

    solution for Sum of N question: #include using namespace std; const long long MAX_LIMIT = 1000000; vector sieve(vector &isPm) { vector pm; isPm[0] = isPm[1] = 1; long long sum=0; for (long long i = 2; i t; vector isPm(MAX_LIMIT + 1, 1); vector pr=sieve(isPm); while(t--){ long long k; cin>>k; if(isPm[k]==1){ cout

  • @prakashk.pandey9298

    @prakashk.pandey9298

    Ай бұрын

    check this:-#include using namespace std; const int m=1e6+1; vector allprime; unordered_map mp; vector isprime(m+1,0); void fun2(){ vector vis(m,0); for(int i=2; i>k; if((k%2)==0){ cout

  • @Ronakrewar
    @RonakrewarАй бұрын

    give code of sum of N

  • @037_abhinavkumar3
    @037_abhinavkumar3Ай бұрын

    Explain the questions and logic properly please

  • @user-nx9jh6uo2d
    @user-nx9jh6uo2dАй бұрын

    #include #define int long long using namespace std; const int N=1e6+10; vectorres; vectorisPrime(N,1); void solve() { isPrime[0]=isPrime[1]=false; for(int i=2;i>k; if(k%2==0) { cout

  • @prakashk.pandey9298

    @prakashk.pandey9298

    Ай бұрын

    check this:-#include using namespace std; const int m=1e6+1; vector allprime; unordered_map mp; vector isprime(m+1,0); void fun2(){ vector vis(m,0); for(int i=2; i>k; if((k%2)==0){ cout

  • @39_jatinjain4
    @39_jatinjain4Ай бұрын

    Worst Explanation!

  • @vanshgupta5202
    @vanshgupta5202Ай бұрын

    #include #include using namespace std; void primeSieve(int n, vector& ar) { vector is_prime(n + 1, true); for (int p = 2; p t; while (t--) { int n; cin >> n; vector primes; primeSieve(n, primes); long long int sum = 0; for (int p : primes) { sum += p; if (n % p == 0) { break; } } sum *= n; cout

  • @shudhanshusingh1401
    @shudhanshusingh1401Ай бұрын

    One of the worst teacher teaching on KZread

Келесі