User Tools

Site Tools


prelude_to_doublets

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
prelude_to_doublets [2011/09/05 11:53] jtkorbprelude_to_doublets [2011/09/06 13:00] (current) jtkorb
Line 9: Line 9:
 ===== Output ===== ===== Output =====
  
-Print the number of words in the dictionary, in the format below, followed by a blank line.  For each line of input words, print the line, followed by a line with the words "yes" or "no" (separated by a space) indicating if the corresponding word is in the dictionary or not.  Separate each case by a blank line (there is no blank line after the last case).+Print the number of words in the dictionary, in the format below.  For each line of input words, print the words "yes" or "no" (separated by a space) indicating if the corresponding word is in the dictionary or not.  Separate each case by a blank line (there is no blank line before the first case or after the last case)
 + 
 +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
 </code> </code>
  
prelude_to_doublets.1315248806.txt.gz · Last modified: 2011/09/05 11:53 by jtkorb