Search found 3 matches

by Piers Kennedy
Sat Oct 30, 2004 7:39 pm
Forum: Volume 101 (10100-10199)
Topic: 10110 - Light, more light
Replies: 76
Views: 26106

Actually it isn't quite right.

The input requires integers that are less than or equal to 2^32-1 so you must use unsigned int.
by Piers Kennedy
Mon Oct 18, 2004 7:26 pm
Forum: Volume 4 (400-499)
Topic: 406 - Prime Cuts
Replies: 187
Views: 22451

406 input causing WA

Dear Ashkankhan, My approach was very similar to yours. My code passed all the tests in the 406 threads but I still got WA. Sokar's suggestion is not why you are still getting WA (there is no input above 1000). For some reason for this problem you need to read all the input (and store) then print th...
by Piers Kennedy
Thu Oct 14, 2004 6:52 pm
Forum: Volume 101 (10100-10199)
Topic: 10179 - Irreducible Basic Fractions
Replies: 28
Views: 9751

[..in the example given in the problem text, they don't count 0/12 as a irreducible basic fraction..] That is correct 0/12 can be reduced to any fraction with a non-zero denominator (e.g.0/1 etc.) Problem 10179 differs from 10299 in that when n=1 there is an allowable irreducible fraction of 1/1 giv...

Go to advanced search