In COBOL, the order of files provided to the compiler matters. Compiling the files
a.cob b.cob
produces a different program than
b.cob a.cob
Because of this, Kattis sorts COBOL 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
Feedback sent
We appreciate your effort and will try to fix the article