Search found 6 matches

by pdah
Sun Oct 28, 2007 7:34 am
Forum: Volume 113 (11300-11399)
Topic: 11326 - Laser Pointer
Replies: 25
Views: 13657

Finally I got AC after changing everything to double
Thank you so much pineapple :)
I use step%2 to determine if step is odd or even. And step is the interger part of L/(w/tan(theta)).
by pdah
Sun Oct 28, 2007 7:14 am
Forum: Volume 113 (11300-11399)
Topic: 11326 - Laser Pointer
Replies: 25
Views: 13657

i changed it to double, and still WA

Code: Select all

removed
by pdah
Sun Oct 28, 2007 7:03 am
Forum: Volume 113 (11300-11399)
Topic: 11326 - Laser Pointer
Replies: 25
Views: 13657

What is epsilon used for in this problem? I didn't use epsilon in my program.
by pdah
Sun Oct 28, 2007 6:52 am
Forum: Volume 113 (11300-11399)
Topic: 11326 - Laser Pointer
Replies: 25
Views: 13657

This is my program, thanks in advance :)

Code: Select all

removed
by pdah
Sun Oct 28, 2007 6:26 am
Forum: Volume 113 (11300-11399)
Topic: 11326 - Laser Pointer
Replies: 25
Views: 13657

Strange ! I got exactly the same results. And I didn't use any epsilon in my program. I still get WA.
Can I post the code here?
by pdah
Sun Oct 28, 2007 5:50 am
Forum: Volume 113 (11300-11399)
Topic: 11326 - Laser Pointer
Replies: 25
Views: 13657

My program gives the same result, too. But it still WA.

How about this test :

Code: Select all

1
10000 1 89
My program gives 57.299. I'm not sure if it's right or wrong :(

Go to advanced search