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 think there is a problem in the input of the tests case of OCaml. Just doing the simple
leta=read_int();;
that should normally read the first line of the input (the number of tests cases), fail with the exception
"int_of_string"
meaning that the conversion was impossible. There's probably an odd character or byte in the input that' s not displayed when it's printed, because when I copy/paste the inputs of the tests cases as displayed in my browser and run them with "Test against custom input", they execute without errors.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Functions or Not?
You are viewing a single comment's thread. Return to all comments →
I think there is a problem in the input of the tests case of OCaml. Just doing the simple
that should normally read the first line of the input (the number of tests cases), fail with the exception
"int_of_string"
meaning that the conversion was impossible. There's probably an odd character or byte in the input that' s not displayed when it's printed, because when I copy/paste the inputs of the tests cases as displayed in my browser and run them with "Test against custom input", they execute without errors.