Page 1 of 1

1502 - GRE Words

Posted: Fri Sep 05, 2014 12:23 am
by brianfry713
Use this thread to discuss this problem.

Re: 1502 - GRE Words

Posted: Sat Mar 26, 2016 5:29 am
by anacharsis
Does the judge input not match the problem spec?

I've tried parsing the input numerous ways:
1) multiple words and scores can appear on the same line
2) word on one line and score one next
3) word on line only ( assume score is 0 )
4) number on line only ( assume word is empty string ).

I can't get any result other than runtime exception.