cascading style sheets

Can anyone please tell me where is my solution going wrong ???

Question: CSS2 Problem - CodeChef

My Solution: CodeChef: Practical coding for everyone

Your algorithm is correct. I am unable to find a bug.

I can only point out that you could have used only one map instead of using two different maps.

You can make std::map<pair<int,int> , pair<int,int> > .

Here’s my solution: http://www.codechef.com/viewsolution/5219242

1 Like

Your solution is not publicly visible.

The solution not being visible was a glitch at our end. This has been fixed. Why do you not ask for help on the editorial page of the problem? CSS2 - Editorial - editorial - CodeChef Discuss