Does anyone know how to solve this problem?
http://www.spoj.com/problems/LQDNUMS/
Or at least please give me the references for it. Thanks a lot in advance.
Does anyone know how to solve this problem?
http://www.spoj.com/problems/LQDNUMS/
Or at least please give me the references for it. Thanks a lot in advance.