You are viewing a single comment's thread. Return to all comments →
I'm getting an error on the third practice case when using "List.map int_of_string (Str.split (Str.regexp " ") (read_line()))". The error is an int_of_string error. I also get an error on the very last (hidden) test case.
Everything else works and I just use the Big_int module so there shouldn't be any sneaky errors implementing Big_int.
Is it possible that the input is bugged? (say delimited by a tab somewhere or something?)
I know your message is verry old but I get the same error, it seems that some of the line end with \r\n instead of \n.
in which test case number?
Ok, it seems the issue is a little bit deeper, it always happen at the last test-case of a series of test-case. That means :
- at "Test Case #2" during simple run
- at "Test Case #14" during submissions