Please ignore secret bonuses. Secret tests do NOT award bonus. Max hw grade is 30+2 bonus efficiency

Do you need help?

Encoding of "End of Line" in the Homework file

ruben.ciranni (4650 points)
8 14 31
in HW1 optional by (4.7k points)
recategorized by
What sequence of characters (LF, CRLF, CR) for "End of line" should we use in the Homework?
312 views

2 Answers

GabrielAlexandru (7760 points)
2 4 29
by (7.8k points)
I used the test provided in the zip archive and there is no need to check for the End Of Line sequence.
andrea.sterbini (207920 points)
750 1267 2373
by (208k points)
The text is passed directly to your function by the test machinery, it's a single line with no newlines.