Need help with this problem (POI 2019)

Revision en1, by primordium, 2025-05-20 20:14:13

So, i recently found this interesting problem:

https://szkopul.edu.pl/problemset/problem/nYCgpBEkq_hw9S-QaoEOOKCI/site/?key=statement

I've been stuck on it for the past couple of days, and I was hoping someone could help me out — maybe share some ideas or give me a small hint?

Any input would be really appreciated!

Tags help, solution, polish oi

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English primordium 2025-05-20 20:14:13 370 Initial revision (published)