11202 - The least possible effort

All about problems in Volume 112. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

Post Reply
Md.Yasin
New poster
Posts: 3
Joined: Fri Mar 09, 2007 11:01 am

11202 - The least possible effort

Post by Md.Yasin »

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.
mf
Guru
Posts: 1244
Joined: Mon Feb 28, 2005 4:51 am
Location: Zürich, Switzerland
Contact:

Post by mf »

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.
Md.Yasin
New poster
Posts: 3
Joined: Fri Mar 09, 2007 11:01 am

11202

Post by Md.Yasin »

Thank u for ur replay.
I got accepted before ur replay.
And its 11202 num. problem not 11200.
THANX. :D :D [/b]
Sotek
New poster
Posts: 8
Joined: Mon Jun 05, 2006 12:06 am
Location: Murcia, Spain

Post by Sotek »

Could ne1 give me some input ? my program seems to be ok but i can't get AC.

Please ne1 who got AC could post me the output for this input ?

8
6 1
6 2
7 7
8 4
9 9
10 10
11 11
12 6

Thank you in advance :)
Jan
Guru
Posts: 1334
Joined: Wed Jun 22, 2005 10:58 pm
Location: Dhaka, Bangladesh
Contact:

Post by Jan »

My accepted code returns...

Output:

Code: Select all

3
3
10
8
15
15
21
18
Hope it helps.
Ami ekhono shopno dekhi...
HomePage
Sotek
New poster
Posts: 8
Joined: Mon Jun 05, 2006 12:06 am
Location: Murcia, Spain

Post by Sotek »

Thank you very much, finally I got AC with your input :)
andmej
Experienced poster
Posts: 158
Joined: Sun Feb 04, 2007 7:45 pm
Location: Medellin, Colombia

Post by andmej »

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?

Image
Runtime errors in Pascal are reported as Wrong Answers by the online judge. Be careful.

Are you dreaming right now?
http://www.dreamviews.com
helloneo
Guru
Posts: 516
Joined: Mon Jul 04, 2005 6:30 am
Location: Seoul, Korea

Post by helloneo »

If you check a blue cell, you don't need to check a pink.. :-)
andmej
Experienced poster
Posts: 158
Joined: Sun Feb 04, 2007 7:45 pm
Location: Medellin, Colombia

Post by andmej »

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
Post Reply

Return to “Volume 112 (11200-11299)”