I could not what will
happen for this sample
8 8
10 10
15 15
25 25
That's mean what output will
happen for this input
I got so much wrong answer for
this problem.
please any body help me.
11202 - The least possible effort
Moderator: Board moderators
Please fix the title of your post - it's clearly not problem 11200.
If you're talking about 11202, then in the case of a square board you should consider 90-degree rotation symmetry, in addition to flips.
If you're talking about 11202, then in the case of a square board you should consider 90-degree rotation symmetry, in addition to flips.
Ami ekhono shopno dekhi...
HomePage
HomePage
I can't see why the output for 7 7 is 10.
I have painted with the same color those cells which are symmetric, and there are exactly 16 different colors. Can you tell me where I am wrong?

I have painted with the same color those cells which are symmetric, and there are exactly 16 different colors. Can you tell me where I am wrong?

Runtime errors in Pascal are reported as Wrong Answers by the online judge. Be careful.
Are you dreaming right now?
http://www.dreamviews.com
Are you dreaming right now?
http://www.dreamviews.com
Oh, thanks. Now I can see the special case that happens when the board is a square. I fixed my problem and got AC.
Runtime errors in Pascal are reported as Wrong Answers by the online judge. Be careful.
Are you dreaming right now?
http://www.dreamviews.com
Are you dreaming right now?
http://www.dreamviews.com