Search found 5 matches

by milacao
Sun Aug 27, 2006 11:36 pm
Forum: Volume 105 (10500-10599)
Topic: 10515 - Powers Et Al.
Replies: 124
Views: 30128

Got Accepted!

Thanks Martin,
Now I got AC. The problem was one of the numbers in the row correspondent to cypher 8, where I had a typo.
Regards.
by milacao
Sun Aug 20, 2006 1:23 pm
Forum: Volume 4 (400-499)
Topic: 438 - The Circumference of the Circle
Replies: 29
Views: 9520

The probelm statement did not say that all three points will be distinct
You're wrong. The statement says:
You are given the cartesian coordinates of three non-collinear points in the plane.
So if the three points are the same, they are obviously collinear, and they shouldn't be a valid input.
by milacao
Sat Aug 19, 2006 8:41 pm
Forum: Volume 105 (10500-10599)
Topic: 10515 - Powers Et Al.
Replies: 124
Views: 30128

Wrong Answer

Hi all,
I'm getting WA, although my code solves correctly the problem for the input cases you describe. Here it is:

Code: Select all

Code removed after AC
Could someone give me some test case where it is wrong, or why?
Thanks!
by milacao
Wed Aug 16, 2006 12:31 am
Forum: Volume 4 (400-499)
Topic: 443 - Humble Numbers
Replies: 82
Views: 7477

please help me [TIME LIMIT EXEEDED] [443]

Hi Newton, I haven't tried yet this problem, but I see several things in your code: 1) GOTO: Although goto perhaps improves performance, it violates good structured programming conventions, so you should avoid it :) 2) With your loop, your code would fail if you have, i.e., number 2310, since it is ...
by milacao
Mon Aug 14, 2006 8:09 pm
Forum: Volume 6 (600-699)
Topic: 623 - 500!
Replies: 187
Views: 44621

Have you checked...

Hi Thomas,
I don't have time to look at your code in depth, but, have you checked if it works with 0? It happened to me and when I changed it, I got AC 8)
Regards.

Go to advanced search