Nearly ILLEGAL tips to improve your codeforces rating! | #1: Sample Cases

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ม.ค. 2025

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

  • @rashidaziz2215
    @rashidaziz2215 ปีที่แล้ว +114

    Whenever I use guess these 50% of it comes WA on test case 2

  • @_aka5h
    @_aka5h ปีที่แล้ว +151

    And this is how I became Candidate Master
    from Master

  • @eliskam1150
    @eliskam1150 ปีที่แล้ว +13

    Nice video and amazing animation, keep up the work!
    I use this "trick" myself quite often.

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

    It's kinda funny that I remeber seeing and solving both problems during the actual competitions

  • @NemanjaSo2005
    @NemanjaSo2005 10 วันที่ผ่านมา

    Might work on A or B. But you shall really try to justify or prove your intuition. As on harder problems, things can get really complicated as numbers get large and just randomly guessing takes a lot of time. Building strong intuition also helps with problem solving.
    In contests I think it's perfectly fine to guess (though justify it at least). Though make sure to prove while practicing.

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

    This will get you to green at most

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

    0:58 is literally me with every question

  • @mistake10449
    @mistake10449 ปีที่แล้ว +1

    helped me in recent edu B problem 😁😁

  • @vitaminprotein325
    @vitaminprotein325 ปีที่แล้ว +10

    I also solved both this questions seeing the test cases, without proving 😅

  • @tarunteja5575
    @tarunteja5575 ปีที่แล้ว +4

    really found this helpful
    nice work man keep on going
    never comeback

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

    In the second problem, if k is a prime number, then there is no solution. So, a one-liner doesn't always work.

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

      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
      @multi10801 8 หลายเดือนก่อน

      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.

  • @fragadmsc
    @fragadmsc ปีที่แล้ว

    awesome video, thanks

  • @rsKayiira
    @rsKayiira ปีที่แล้ว +1

    Great video, just started my CF journey and currently newbie. Whats your CF rating if you dont mind me asking

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

    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..

  • @android5626
    @android5626 ปีที่แล้ว

    brilliant!

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

    You gave me the easiest ways to hack those who solved such problems.

  • @shivamchauhan029nitjsr4
    @shivamchauhan029nitjsr4 ปีที่แล้ว +1

    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. :(

  • @iDabbl
    @iDabbl ปีที่แล้ว

    beacon orz

  • @mannythebuilderrr
    @mannythebuilderrr ปีที่แล้ว

    south african?

  • @MrKB_SSJ2
    @MrKB_SSJ2 ปีที่แล้ว

    WTH BRO :]