Re: Contest Update (18-Nov-2004)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Derek Parnell wrote:
> 
> Jason Gade wrote:
> > 
> > Awesome!  I finally got my code (mostly) correct.  I wonder what I'm still
> > doing wrong
> > on the dictionary... Hmm.
> > Well, I started revising again before my last submission's paint had dried,
> > so I think
> > I will submit one more.  Once I've tested and debugged it, that is.
> 
> I suspect you are not correctly dealing with top frequence tokens that
> have the same frequence count . This is what your program gives ...
> 
> 01 WORLDS               2
> 02 ZYMURGY              1
> 
> and this is what it should give...
> 
> 01 ANIMALS              2
> 02 APPLICATIONS         2
> 03 AUTHORS              2
> 04 BANKS                2
> 05 BASICS               2
> 06 BOARDS               2
> 07 CALCULATORS          2
> 08 CALLERS              2
> 09 CANT                 2
> 10 CATS                 2
> 11 CHARACTERS           2
> 12 CHIPS                2
> 13 COMPILERS            2
> 14 COMPUTERS            2
> 15 COOKIES              2
> 16 DART                 2
> 17 DAYS                 2
> 18 DEFINES              2
> 19 DESKTOPS             2
> 20 DISKETTES            2
> 
> -- 
> Derek Parnell
> Melbourne, Australia
> 

Oh.

I guess that I have to re-read the rules again.  I thought that it wasn't
supposed to print out duplicates, of length frequencies OR of word frequencies.
That's easy to fix.  Thanks again!


j.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu