Hello, I'm trying to solve this task :
main.edu.pl/en/archive/oi/20/usu
Someone suggested that I can use a queue, but I cannot wrap my head around it. I cannot find a way to use it that is good in all cases.
Anyone can give me some more hints ?
The tests are also available :
main.edu.pl/en/user.phtml?op=tes ... &task=1086
Thanks in advance !