Encoding of "End of Line" in the Homework file

ruben.ciranni (4650 points)
7 13 31
asked Oct 20, 2021 in HW1 optional by ruben.ciranni (4,650 points)
recategorized Nov 1, 2021 by andrea.sterbini
What sequence of characters (LF, CRLF, CR) for "End of line" should we use in the Homework?
163 views

2 Answers

GabrielAlexandru (7760 points)
2 4 29
answered Oct 20, 2021 by GabrielAlexandru (7,760 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 (172780 points)
513 935 1789
answered Oct 20, 2021 by andrea.sterbini (172,780 points)
The text is passed directly to your function by the test machinery, it's a single line with no newlines.