Why do i get a wrong answer?

// CODE DELETED

I’ve tested for several test cases and the answers are correct for those.
Link: http://www.codechef.com/NOV13/problems/SDSQUARE

You are not allowed to ask questions during the contest. Please wait till contest is over

1 Like
//