What's the order of file names to the compiler?

Modified on Sun, 21 Feb 2021 at 08:21 PM

In OCaml, the order of files provided to the compiler matters (i.e. compiling the files a.ml b.ml produces a
different program than b.ml a.ml. Because of this, Kattis sorts OCaml files by filename before compiling them. Please keep this in mind when submitting multiple files.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article