Problems
Questions about problems
| # | Author | Problem | When | Question | Answer |
|---|---|---|---|---|---|
| A | Mar 20, 2010 7:48:48 PM | Is it true that every (including the last) line in the input file ends with end-of-the-line character? | Yes, each line including the last ends with \r\n | ||
| A | Mar 20, 2010 7:47:58 PM | How can I understand that input is ended? |
Each line of the input ends with end-of-line sequence (\r\n). So if you are using C++ you can try while (getline(cin, s)) ... |



