Hacking Solutions Screencast - Codeforces Round 946 Div.3

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

КОМЕНТАРІ • 19

  • @deepakantoj432
    @deepakantoj432 5 місяців тому +1

    Sir this was a problem i got in one of my interviews.
    There were N stones arranged in a circle numbered from 0 to N−1 in a clockwise direction. Alice observes peculiar frog resting on stone 0. The frog is peculiar because it jumps distance of i in a clockwise direction for every ith minute.
    i.e at the 0th minute the frog is at stone 0.
    at the 1st minute the frog is at stone 1.
    at the 2nd minute the frog is at stone 3.
    at the 3rd minute the frog is at stone 6.
    ans so on...
    You need to check if all stones will be visited by the frog at some point in time or not. You are given an integer N denoting the number of stones and the frog will keep jumping till infinity.
    how to approach this problem.

  • @aryanZzz..
    @aryanZzz.. 3 місяці тому

    But how to generate these test cases

  • @avicious17
    @avicious17 5 місяців тому +1

    How can I find the hacking input?

  • @bishwashkumarsah171
    @bishwashkumarsah171 5 місяців тому +4

    hacking aka bullying newbies

  • @rachitgupta763
    @rachitgupta763 5 місяців тому +1

    Sir i went through your solution c,
    Can you please explain your approach or resources to learn combinatorics

    • @rachitgupta763
      @rachitgupta763 5 місяців тому

      Sir please reply

    • @aniketmore8789
      @aniketmore8789  5 місяців тому

      Utkarsh Gupta's video on Maths for DSA/CP .

    • @rachitgupta763
      @rachitgupta763 5 місяців тому

      ​@@aniketmore8789 sir I watch this this video but combinatorics part is about only 9 min and I can't relate the solution C so can you please explain your approach of prblm C

    • @rachitgupta763
      @rachitgupta763 5 місяців тому

      ​@@aniketmore8789please sir reply me

    • @Negijicoder
      @Negijicoder 5 місяців тому

      ​@@rachitgupta763bro apply tag... Combination then solve..

  • @Rlxn5
    @Rlxn5 5 місяців тому +1

    We have to submit our code to generate test case or test itself?

    • @aniketmore8789
      @aniketmore8789  5 місяців тому +2

      You can do submit either of them.

    • @Rlxn5
      @Rlxn5 5 місяців тому

      @@aniketmore8789 okay 👍 brother

  • @ninadpatil8606
    @ninadpatil8606 5 місяців тому +1

    Great sir

  • @hetannandre2900
    @hetannandre2900 5 місяців тому +2

    Cp karu jhaat bhar, videos banavu raat bhar🤡🌚

    • @gigachad2419
      @gigachad2419 5 місяців тому +8

      ICPC mates trolling each other

    • @aniketmore8789
      @aniketmore8789  5 місяців тому +1

      Thik hai bhai 🙇‍♀️

  • @rachitgupta763
    @rachitgupta763 5 місяців тому

    Sir please reply me