Codechef Starters 143 ( Div 4) | Non-Divisor Array | Binary Conversion | A-D

Поделиться
HTML-код
  • Опубликовано: 13 сен 2024
  • #codechefsolution #codechef
    Hi, I am Amit Dhyani. Today, we solved problems from Codechef Starteres 143 (Div 4).
    Problem A: International Justice Day
    Problem B: Maximum Coins
    Problem C: Binary Conversion
    Problem D: Non-Divisor Array
    Problem E: Max Min and length • Codechef Starters 143 ...
    ********************************************
    Checkout my Segment Tree Playlist:
    • Segment Tree : Basic t...
    🌐 Connect with me:
    📧 Gmail: amitdhyani36@gmail.com
    💼 LinkedIn: / amit-dhyani-5164b8138
    📸 Instagram: / amit.dhyani.1
    #contest #143 #faang #maang

Комментарии • 17

  • @Shivam-wl7fg
    @Shivam-wl7fg Месяц назад

    Bhaiya third wale problem ka explanation ma maja aa gya....thank you!

  • @sonu.00581
    @sonu.00581 Месяц назад

    great sir 👏

  • @roshangeorge97
    @roshangeorge97 Месяц назад

    loved the third problem explanation!

  • @RiteshSingh-yp1sm
    @RiteshSingh-yp1sm Месяц назад

    godlike explaination

  • @manpatel9157
    @manpatel9157 Месяц назад +3

    Bhaiya, In Problem-C (Binary Conversion), Constraints is given that 1

  • @funfacts9544
    @funfacts9544 Месяц назад +2

    15:35 pe six conflicts hai

  • @tahmiszubair1644
    @tahmiszubair1644 Месяц назад

    nice bhaii

  • @pradeepdobriyal4738
    @pradeepdobriyal4738 Месяц назад

    Great job beta❤❤keep it up

  • @SatyamGupta-nx4zj
    @SatyamGupta-nx4zj Месяц назад

    Bhaiya, How to identify edge cases for any problem like for problem C?

  • @RishabhKumar0094
    @RishabhKumar0094 Месяц назад

    thanks

  • @kunjshah2991
    @kunjshah2991 Месяц назад

    please give us the solution of the code after D problem sir!!!!

    • @amit_dhyani
      @amit_dhyani  Месяц назад

      Hey Bro, Sorry i was busy with some other stuff. Here is the code
      #include
      #include
      using namespace std;
      int main() {
      int t;
      cin >> t;
      while (t--) {
      int n;
      cin >> n;

      int C = floor(log2(n)) + 1;
      cout

  • @39_jatinjain4
    @39_jatinjain4 Месяц назад

    Can u tell why it is giving WA-
    const int MAXN = 200001;
    bool prime[MAXN];
    void sieve() {
    fill(begin(prime), end(prime), true);
    prime[0] = prime[1] = false;
    for (int p = 2; p * p > n;
    vectorb(n+1);
    for (int i = 2; i

  • @Nisha-yu3sj
    @Nisha-yu3sj Месяц назад

    Good ❤❤

  • @dhaneshwaridobriyal2943
    @dhaneshwaridobriyal2943 Месяц назад

    😍😍😍😍

  • @amardeep7714
    @amardeep7714 Месяц назад

    noicee