How to solve this problem
I can't figure out the approach.Describe the approach in details please. Thanks in advance
ACM ICPC Dhaka Regional 2017 Online Preliminary Round (Problem D)
How to solve this problem
I can't figure out the approach.Describe the approach in details please. Thanks in advance