10456 - Intelligent Cats

All about problems in Volume 104. 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
..
A great helper
Posts: 454
Joined: Thu Oct 18, 2001 2:00 am
Location: Hong Kong

10456 - Intelligent Cats

Post by .. » Sat Mar 15, 2003 5:11 pm

This problem requires us to use n/d to represent the coordinate, but it doesn't talk about the precision, then what accuracy I should use :o
My signature:
  • Please make discussion about the algorithm BRFORE posting source code.
    We can learn much more in discussion than reading source code.
  • I HATE testing account.
  • Don't send me source code for debug.

Whinii F.
Experienced poster
Posts: 151
Joined: Wed Aug 21, 2002 12:07 am
Location: Seoul, Korea
Contact:

Post by Whinii F. » Sun Mar 16, 2003 5:34 am

Actually I didn't manage to solve the problem :o , but, doesn't all fractions have infinite precisions?

..
A great helper
Posts: 454
Joined: Thu Oct 18, 2001 2:00 am
Location: Hong Kong

Post by .. » Sun Mar 16, 2003 10:05 am

I just get accepted.
At first I want to use some sin/cos function to solve the problem, so I think I need to convert the answer to n/d form by taking n digits after the decimal points....
But actually no need to use sin/cos, that means I made a stupid question..... :oops:
My signature:
  • Please make discussion about the algorithm BRFORE posting source code.
    We can learn much more in discussion than reading source code.
  • I HATE testing account.
  • Don't send me source code for debug.

ditrix
New poster
Posts: 33
Joined: Sat Mar 01, 2003 12:38 am
Location: Paris

Post by ditrix » Sun Mar 16, 2003 12:34 pm

are there a tricky cases for this problem? It seems that my program gives the right answer for all tests that i have made, but I am not still accepted. :(
And are the coordinates of the fixed points presented as integers in the input?
@+!
DitriX

Red Scorpion
Experienced poster
Posts: 192
Joined: Sat Nov 30, 2002 5:14 am

Post by Red Scorpion » Mon Mar 17, 2003 10:44 am

Hi, Can anyone give me the sample input and output.

Thanks,
RED SCORPION :oops: :oops: :oops:

Post Reply

Return to “Volume 104 (10400-10499)”