prelude_to_doublets
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
prelude_to_doublets [2011/09/05 11:49] – jtkorb | prelude_to_doublets [2011/09/06 13:00] (current) – jtkorb | ||
---|---|---|---|
Line 9: | Line 9: | ||
===== Output ===== | ===== Output ===== | ||
- | For each line of input, print "set" if the integers form a complete set from smallest to largest without duplicates; otherwise print "not a set". | + | Print the number of words in the dictionary, in the format below. |
+ | |||
+ | NEXT TIME: The number of words in the dictionary should be the number of *unique* words. | ||
===== Sample Input ===== | ===== Sample Input ===== | ||
Line 24: | Line 26: | ||
booster roasted | booster roasted | ||
coastal postal | coastal postal | ||
+ | rooster fooster | ||
</ | </ | ||
prelude_to_doublets.1315248561.txt.gz · Last modified: 2011/09/05 11:49 by jtkorb