We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
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?)
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Huge GCD
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?)