nikhil_vaibhav_17's blog

By nikhil_vaibhav_17, history, 2 years ago, In English

I need help understanding where I am going wrong with this solution. Possibly I am doing wrong with modular operations.

This is the problem of recent Codeforces Round #778 , Problem D — Potion Brewing Class

1654D - Урок зельеварения

My piece of code
| Write comment?