Search found 2 matches

by pieguy
Tue Jul 14, 2009 9:37 pm
Forum: Volume 8 (800-899)
Topic: 847 - A Multiplication Game
Replies: 41
Views: 20911

Re: 847 - A Multiplication Game

This problem definitely has weak judge input. I accidentally read "2 OR 9" instead of "2 TO 9" and still got AC. My program should give the wrong output in roughly 25% of cases! (For example, my program claims that Ollie wins from 37 to 72, and that Stan wins from 325 to 648, etc.)
by pieguy
Tue Jun 23, 2009 8:57 pm
Forum: Volume 100 (10000-10099)
Topic: 10066 - The Twin Towers
Replies: 35
Views: 13503

Re: 10066 - The Twin Towers

The following gives WA. I tested over 1000 randomly generated inputs using UVA toolkit and my output matches perfectly. I'm stumped.

Code: Select all

removed after AC
Any ideas are welcome.

edit: caught the error when I compiled with -Wall -Wextra.

Go to advanced search