Search found 5 matches

by DiogoPimenta
Fri Aug 10, 2007 7:02 pm
Forum: Volume 1 (100-199)
Topic: 107 - The Cat in the Hat
Replies: 278
Views: 19435

Is

1 14

a valid input ??
by DiogoPimenta
Fri Aug 10, 2007 6:21 pm
Forum: Volume 1 (100-199)
Topic: 107 - The Cat in the Hat
Replies: 278
Views: 19435

I get WA.

I've tested all inputs on the post and get the same anwsers, but i'm ignoring bad inputs like.

3 1
100 1
25 60
9 9

Please feed me with more inputs please

Thanks
by DiogoPimenta
Fri Aug 10, 2007 1:41 pm
Forum: Volume 1 (100-199)
Topic: 107 - The Cat in the Hat
Replies: 278
Views: 19435

I get same output, and still i get WA!!! Do you have more inputs to test ??

My code does not give an anwser when a bad input like 100 1 is given, and it doesn't loop forever, simply get to the next input. AND STILL I GET WA... provide-me with inputs please...
by DiogoPimenta
Fri Aug 10, 2007 12:44 pm
Forum: Volume 1 (100-199)
Topic: 107 - The Cat in the Hat
Replies: 278
Views: 19435

Getting Wrong Answer

I don't have math skills, so i try to solve this just using integers. I find N and k (number of cat "generations") by cheking the reminders. for the example input 216 125 I calculate like this (N = 2) 216 % 2+1 = 0 125 % 2 = 1 // This reminder as to be 0 there is no such this as a HalfCat -> next N ...
by DiogoPimenta
Fri Aug 10, 2007 11:43 am
Forum: Volume 1 (100-199)
Topic: 107 - The Cat in the Hat
Replies: 278
Views: 19435

I'm getting WA too and my code calculates good anwsers on the examples given in the forum.
Can someone provide test inputs and AC results ?? So i can see if i'm getting any WA.

I also saw many AC posts that give answer to wrong input, I dont want that kind of input for my tests !!

Thanks

Go to advanced search