problems in the video: codeforces.com/contest/1768/p... codeforces.com/contest/1787/p...
Пікірлер: 28
@rashidaziz2215 Жыл бұрын
Whenever I use guess these 50% of it comes WA on test case 2
@tarunvyshnav25333 ай бұрын
Relatable 😂🥲
@eliskam1150 Жыл бұрын
Nice video and amazing animation, keep up the work! I use this "trick" myself quite often.
@_aka5h Жыл бұрын
And this is how I became Candidate Master from Master
@vishalplayzz2580 Жыл бұрын
Lmao
@shivamchauhan029nitjsr45 ай бұрын
🤣🤣
@rsKayiira10 ай бұрын
Great video, just started my CF journey and currently newbie. Whats your CF rating if you dont mind me asking
@lucasfragadamasceno597611 ай бұрын
awesome video, thanks
@mistake10449 Жыл бұрын
helped me in recent edu B problem 😁😁
@android56269 ай бұрын
brilliant!
@ashersamuel9584 ай бұрын
0:58 is literally me with every question
@vitaminprotein325 Жыл бұрын
I also solved both this questions seeing the test cases, without proving 😅
@Negijicoder3 ай бұрын
i didn't see the sol let's see if it's correct or not: my idea is: if n is odd then there is no answer: and if n is even then always ans should be: like (1,n/2) by solving equations..
@colecancode Жыл бұрын
beacon orz
@tarunteja55759 ай бұрын
really found this helpful nice work man keep on going never comeback
@aldrinsaurovsarker51594 ай бұрын
In the second problem, if k is a prime number, then there is no solution. So, a one-liner doesn't always work.
@TeslasMoustache4193 ай бұрын
I don't get it? Let's sub x = k -1. We get (k-1)! + (k-2)! which equals k*(k-2)!, i.e. it's a multiple of k.
@multi10801Ай бұрын
it works, consider k = 2 substitute x = k - 1 (i.e. x = 1) 1! + (1 - 1)! = 1! + 0! 1! = 1, 0! = 1 1 + 1 = 2 -> divisible by k. and for other values of k, which are odd, if it is a prime number, x is always -1.
@mohammedsamir5142 Жыл бұрын
This may work only in problems of level < 1000... Both examples you provided were Codeforces Div2 A problems. Harder problems require more observations and thinking.
@beaconcodes Жыл бұрын
Hi - yeah I realize this, I was trying to give tips for people struggling in the easier questions so that they can solve them easier. Thanks though!
@random_memes009 Жыл бұрын
@@beaconcodes yes but try to tell that this trick work for A level ques or B level . BTW thanks for the video
@webblyy Жыл бұрын
pretty good tip for fast-solve, that provides you the opportunity to take a higher place in standings
@KelinZhu Жыл бұрын
Typedb round, problem E is a 2100 rated problem that can be guessed from samples
@mohammedsamir5142 Жыл бұрын
@@KelinZhu 😦 I didn't participate in it, but this is weird that problem C was dp and hard for many intelligent people and E is that easy.
@usay_53174 ай бұрын
You gave me the easiest ways to hack those who solved such problems.
@mannythebuilderrr Жыл бұрын
south african?
@shivamchauhan029nitjsr45 ай бұрын
I know It works but There's no way someone can reach > 1200 using these 'tricks' though. Stop using thumbnail of this Rating Graph please. :(