Please fill the feedback form: forms.gle/wTgYuKAKSp5CsgGK7
@pratyushdubey53623 ай бұрын
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.
@VivekYadav-uy9ts3 ай бұрын
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!
@crazymemes40803 ай бұрын
I don't know how they explain:) totally waste of time.
@PrinceKumar-gl5fk3 ай бұрын
Agreed
@kousthubhyadavalli10773 ай бұрын
can we get the solution code as well?
@VivekYadav-uy9ts3 ай бұрын
Bro check the description!
@anandraj-xj5ge3 ай бұрын
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 ?
@ayushshshsh3 ай бұрын
even I do this sometimes
@priyanshkumar173 ай бұрын
I also did the same
@stuartYoung5593 ай бұрын
HEY ! why cp31 sheet is not accessible from website ?
@prakashk.pandey92983 ай бұрын
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
@Noob_Coder12343 ай бұрын
Great Explaination Mr Ankit
@siddheshpandey79053 ай бұрын
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
#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
#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