Блог пользователя NPsolved.cpp

Автор NPsolved.cpp, история, 8 месяцев назад, По-английски

Thank you for participating in $$$\mathbf{OPC\ March\ 2026}$$$!

This editorial outlines the key ideas and solution approaches for each problem. We hope it helps you gain deeper insights and further strengthen your problem-solving skills in competitive programming.

We would greatly appreciate your feedback. Please share your thoughts through this Google Form

Contest Link: Link

A. Find Sum

Hint 1
Solution
Code (C++)

Author: mnnit.prakharg


B: Count Equal

Hint 1
Solution
Code (C++)

Author: mnnit.prakharg


C: Easy or Hard?

Hint 1
Solution
Code (C++)

Author: NPsolved.cpp


D. Nobita and the Divine Probability (Easy Version)

Hint 1
Hint 2
Hint 3
Solution
Code (C++)

Author: NPsolved.cpp


E. Cyclic Non-Decreasing Subsequence

Hint 1
Hint 2
Hint 3
Solution
Code (C++)

Author: NPsolved.cpp


F. Fun Is Counting

Hint 1
Hint 2
Hint 3
Solution
Code (C++)

Author: late_night_dreams


G. Nobita and the Divine Probability (Hard Version)

Legendary Hint
Solution 1
Code (C++)
Solution 2
Code (C++)

Author: NPsolved.cpp


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

»
8 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by NPsolved.cpp (previous revision, new revision, compare).

»
8 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

well done

»
8 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

lol

»
8 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

E can be solved by visualising a split point and then using a segment tree to find min queries look at my solution to this question. And b can be easily solved in 15 lines using pnc and inverse modulo arithmetic again look at my solution for this question pretty intuitive and understandable solutions