Problem link-> http://codeforces.net/gym/100738/problem/L
Test Case
Answer->4
many solutions printing->2
Why minus??? I am not saying all solutions are failing. But some of them are failing.
check this submissions(if you can open it) rank1 -> http://codeforces.net/gym/100738/submission/13337941 rank2 -> http://codeforces.net/gym/100738/submission/15432875