Problem C Nikita and LCM Codeforces Round 948 (div 2)

Поділитися
Вставка
  • Опубліковано 26 сер 2024
  • #codeforcessolution #codeforces #coding #cpp

КОМЕНТАРІ • 20

  • @platypusperry4176
    @platypusperry4176 2 місяці тому

    Genius!!!....really liked the way u explained it was amazing

    • @jeevanalexen
      @jeevanalexen  2 місяці тому

      Thank you soo much for this comment :)

  • @Xiover2134
    @Xiover2134 2 місяці тому

    Amazing explanation 🔥

  • @sujikrish8586
    @sujikrish8586 2 місяці тому

    Good

    • @jeevanalexen
      @jeevanalexen  2 місяці тому

      Thank you for this comment🙌

  • @anonymous10906
    @anonymous10906 3 місяці тому

    finally understood the solution bcz of u man!! Thanks man!!!

    • @jeevanalexen
      @jeevanalexen  3 місяці тому

      Thank you for this comment, means a lot❤

  • @freebookstore3242
    @freebookstore3242 2 місяці тому

    is good thing

    • @jeevanalexen
      @jeevanalexen  2 місяці тому

      Hi, I didnt understand your comment, Please let me know if you have any doubts or need further clarification.

    • @freebookstore3242
      @freebookstore3242 2 місяці тому

      @@jeevanalexen this vedio is good thing

  • @jeevanalexen
    @jeevanalexen  3 місяці тому

    Can you please comment whether this video was useful or not. This will help me in making much better videos in the future

  • @riser636
    @riser636 2 місяці тому

    Is that code got accepted?

    • @jeevanalexen
      @jeevanalexen  2 місяці тому

      Yes, it got accepted

    • @riser636
      @riser636 2 місяці тому

      @@jeevanalexen how!!! You are using double loop. Time got exceeded.

    • @jeevanalexen
      @jeevanalexen  2 місяці тому

      @@riser636 first loop is a square root loop

    • @riser636
      @riser636 2 місяці тому

      @@jeevanalexen yeah but it didnt worked. time got exceeded

    • @jeevanalexen
      @jeevanalexen  2 місяці тому

      @@riser636 maybe it was the way you are using the map, try to use map.find(), it is O(1) complexity compared to using map the other way which O(logn) complexity.
      If you share the link of your submission, I can help you further