Блог пользователя byee

Автор byee, история, 5 лет назад, По-английски

Hi all, I am trying to solve this question,I got some logic and implemented it but getting WA on test case 11. Here is my code.

Don't know whats wrong with my logic or code as I have tried many cases by myself, for all of them I got the correct output.

Also please help me in understanding this submission for the same why he used prefix sum and how it is different from my logic. Please help me. Thanks.

Полный текст и комментарии »

  • Проголосовать: нравится
  • -19
  • Проголосовать: не нравится

Автор byee, история, 6 лет назад, По-английски
  • Hi guys ,
    • I had just came over with the world of competetive programming last month , and one of my friend suggested to practice on CF . I had solved >50 level A problems listed here. Also participated in cf rounds , just somehow managed to solve Level A problems.
      I need Your suggestion And help , i use C++ to code problems. ``
  • Do I need to learn new concepts for switching to level B? If yes please list some.
  • Do I have to solve more problems of level A . And also tips for cf Rounds ,How can I improve my performance in cf rounds.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +6
  • Проголосовать: не нравится

Автор byee, история, 6 лет назад, По-английски

Hi guys , i'm Robin ,new to world of cp. i have joined this platform in couple of weeks ago . Enjoying it even it frustrates me most of the time . Hope u all support me so that i can make my contribution to this beautiful community.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +6
  • Проголосовать: не нравится