735 - Dart-a-Mania

All about problems in Volume 7. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

Post Reply
camara
New poster
Posts: 6
Joined: Wed Jun 15, 2005 7:52 pm

735 - Dart-a-Mania

Post by camara »

Hi,

Although I tested my algorithm a lot (I actually generated all possible solutions), my submissions always return Wrong Answer!! I don't know what else to do! :((( I tested with awkward examples (always positive), and still all makes sense to me. Where am I failing?

To give a little sample of the results my algorithm is generating, here it goes (for the numbers 67 through 73).

NUMBER OF COMBINATIONS THAT SCORES 67 IS 182.
NUMBER OF PERMUTATIONS THAT SCORES 67 IS 1053.
**********************************************************************
NUMBER OF COMBINATIONS THAT SCORES 68 IS 187.
NUMBER OF PERMUTATIONS THAT SCORES 68 IS 1056.
**********************************************************************
NUMBER OF COMBINATIONS THAT SCORES 69 IS 183.
NUMBER OF PERMUTATIONS THAT SCORES 69 IS 1056.
**********************************************************************
NUMBER OF COMBINATIONS THAT SCORES 70 IS 187.
NUMBER OF PERMUTATIONS THAT SCORES 70 IS 1059.
**********************************************************************
NUMBER OF COMBINATIONS THAT SCORES 71 IS 181.
NUMBER OF PERMUTATIONS THAT SCORES 71 IS 1047.
**********************************************************************
NUMBER OF COMBINATIONS THAT SCORES 72 IS 188.
NUMBER OF PERMUTATIONS THAT SCORES 72 IS 1063.
**********************************************************************
NUMBER OF COMBINATIONS THAT SCORES 73 IS 181.
NUMBER OF PERMUTATIONS THAT SCORES 73 IS 1047.

Thanks in advance for any help!
brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 735 - Dart-a-Mania

Post by brianfry713 »

My AC code matches your output. Remember to put this at the end:

Code: Select all

**********************************************************************
END OF OUTPUT
Post your code if you're still around and having issues.
Check input and AC output for thousands of problems on uDebug!
Post Reply

Return to “Volume 7 (700-799)”