@@ -594,52 +594,69 @@ <h2 id="rule-4---required-files">Rule 4 - Required files</h2>
594594requirements may be imposed by < code > mkiocccentry(1)</ code > updates that have yet
595595to be listed below:
596596</ p >
597- < p > < span style ="font-size:28px; "> < b > |</ b > </ span >
598- * < code > .info.json</ code > and < code > .auth.json</ code > < strong > MUST</ strong > be generated by
599- < code > mkiocccenty(1)</ code > when packing a submission. When < code > chksubmit(1)</ code > is run
600- on the submission directory < strong > ALL</ strong > tests must pass and if there is
601- < strong > ANY</ strong > problem with these JSON files or if either is missing it will
602- fail. See < a href ="#rule17-mkiocccentry "> Rule 17 - use mkiocccentry</ a > .</ p >
603- < p > < span style ="font-size:28px; "> < b > |</ b > </ span >
604- * The < code > Makefile</ code > , < code > remarks.md</ code > ,< code > .info.json</ code > , and < code > .auth.json</ code > < strong > MUST</ strong >
605- have a file size < strong > greater than 0</ strong > and < strong > MUST</ strong > have content. Note
606- that < code > mkiocccentry(1)</ code > will check for file < strong > size</ strong > but will < strong > NOT</ strong >
607- check for content.</ p >
608- < p > < span style ="font-size:28px; "> < b > |</ b > </ span >
609- * Your submitted source code < strong > MUST</ strong > be called < code > prog.c</ code > . When the
597+ < ul >
598+ < li > < p class ="leftbar ">
599+ < code > .info.json</ code > and < code > .auth.json</ code > < strong > MUST</ strong > be generated by
600+ < code > mkiocccenty(1)</ code > when packing a submission.
601+ </ p > </ li >
602+ < li > < p class ="leftbar ">
603+ Before forming the tarball, < code > mkiocccentry(1)</ code > will run < code > chksubmit(1)</ code > on your
604+ submission directory and if < strong > ANY</ strong > problems are found (with < code > .auth.json</ code > ,
605+ < code > .info.json</ code > or < strong > ANYTHING</ strong > else), your tarball will < strong > NOT</ strong > be formed.
606+ </ p > </ li >
607+ < li > < p class ="leftbar ">
608+ The < code > Makefile</ code > , < code > remarks.md</ code > ,< code > .info.json</ code > , and < code > .auth.json</ code >
609+ < strong > MUST</ strong > have a file size < strong > greater than 0</ strong > and < strong > MUST</ strong > have content. Note
610+ that < code > mkiocccentry(1)</ code > will check for file < strong > size</ strong > but will < strong > NOT</ strong > check for
611+ content. On the other hand < code > chksubmit(1)</ code > will check that the < code > .auth.json</ code > and
612+ < code > .info.json</ code > are both valid JSON and are valid according to the IOCCC
613+ requirements.
614+ </ p > </ li >
615+ < li > < p class ="leftbar ">
616+ Your submitted source code < strong > MUST</ strong > be called < code > prog.c</ code > . When the
610617< code > Makefile</ code > compiles your code, the executable (if applicable) < strong > MUST</ strong >
611618be called < code > prog</ code > . The < code > Makefile</ code > may compile your source code into
612- other filenames as well, if you want.</ p >
613- < p > < span style ="font-size:28px; "> < b > |</ b > </ span >
614- * As < code > prog</ code > , < code > prog.alt</ code > , < code > prog.alt.o</ code > , < code > prog.o</ code > may be created by your
619+ other filenames as well, if you want.
620+ </ p > </ li >
621+ < li > < p class ="leftbar ">
622+ As < code > prog</ code > , < code > prog.alt</ code > , < code > prog.alt.o</ code > , < code > prog.o</ code > may be created by your
615623< code > Makefile</ code > , your submission < strong > MUST NOT</ strong > include those files in your
616- < strong > top</ strong > directory.</ p >
617- < p > < span style ="font-size:28px; "> < b > |</ b > </ span >
618- * Your submission may < strong > NOT</ strong > have any file that starts with < code > COPYING</ code > ,
619- < code > COPYRIGHT</ code > , or < code > LICENSE</ code > as those files are reserved by IOCCC.</ p >
620- < p > < span style ="font-size:28px; "> < b > |</ b > </ span >
621- * Your submission may < strong > NOT</ strong > have in the < strong > top</ strong > directory:
624+ < strong > top</ strong > directory.
625+ </ p > </ li >
626+ < li > < p class ="leftbar ">
627+ Your submission may < strong > NOT</ strong > have any file that starts with < code > COPYING</ code > ,
628+ < code > COPYRIGHT</ code > , or < code > LICENSE</ code > as those files are reserved by IOCCC.
629+ </ p > </ li >
630+ < li > < p class ="leftbar ">
631+ Your submission may < strong > NOT</ strong > have in the < strong > top</ strong > directory:
622632< code > prog.orig.c</ code > , < code > README.md</ code > or < code > index.html</ code > as those files are reserved
623- by the IOCCC.</ p >
624- < p > < span style ="font-size:28px; "> < b > |</ b > </ span >
625- * Your submission may < strong > NOT</ strong > have in the < strong > top</ strong > directory any file
626- that matches a file glob pattern form < code > [0-9][0-9][0-9][0-9]_*.tar.bz2</ code >
627- as those files are reserved by IOCCC.</ p >
628- < p > < span style ="font-size:28px; "> < b > |</ b > </ span >
629- * Your submission may < strong > ONLY</ strong > contain files and directories. Other
630- file types such as symlinks, sockets etc. are < strong > NOT</ strong > allowed.</ p >
631- < p > < span style ="font-size:28px; "> < b > |</ b > </ span >
632- * < strong > All</ strong > directories < strong > MUST</ strong > have permission mode of < strong > 0755</ strong > . All
633- files < strong > MUST</ strong > have the file mode of < strong > 0444</ strong > , EXCEPT for files that
634- end in < code > .sh</ code > which must have a mode of < strong > 0555</ strong > .</ p >
635- < p > < span style ="font-size:28px; "> < b > |</ b > </ span >
636- * All files that end in < code > .md</ code > < strong > MUST</ strong > be in markdown format.</ p >
637- < p > < span style ="font-size:28px; "> < b > |</ b > </ span >
638- * All filenames are treated as case insensitive. For example,
633+ by the IOCCC.
634+ </ p > </ li >
635+ < li > < p class ="leftbar ">
636+ Your submission may < strong > NOT</ strong > have in the < strong > top</ strong > directory any file that matches
637+ a file glob pattern form < code > [0-9][0-9][0-9][0-9]_*.tar.bz2</ code > as those files are
638+ reserved by IOCCC.
639+ </ p > </ li >
640+ < li > < p class ="leftbar ">
641+ Your submission may < strong > ONLY</ strong > contain < strong > regular</ strong > files and directories. Other
642+ file types such as symlinks, sockets etc. are < strong > NOT</ strong > allowed.
643+ </ p > </ li >
644+ < li > < p class ="leftbar ">
645+ < strong > All</ strong > directories < strong > MUST</ strong > have permission mode of < code > 0755</ code > . All
646+ files < strong > MUST</ strong > have the file mode of < code > 0444</ code > , < strong > EXCEPT</ strong > for files that
647+ end in < code > .sh</ code > which must have a mode of < code > 0555</ code > .
648+ </ p > </ li >
649+ < li > < p class ="leftbar ">
650+ All files that end in < code > .md</ code > < strong > MUST</ strong > be in markdown format.
651+ </ p > </ li >
652+ < li > < p class ="leftbar ">
653+ All filenames are treated as case insensitive. For example,
639654< code > REMARKS.MD</ code > , and < code > Remarks.md</ code > , and < code > remarks.md</ code > are considered by
640655< code > mkiocccenty(1)</ code > to be the < strong > SAME</ strong > file. When preparing a submission
641656on a case sensitive filesystem, ensure that the submission will work on
642- a case insensitive filesystem.</ p >
657+ a case insensitive filesystem.
658+ </ p > </ li >
659+ </ ul >
643660< p class ="leftbar ">
644661< strong > NOTE</ strong > : by ‘top directory’ we mean the directory with < code > prog.c</ code > ,
645662< code > Makefile</ code > , < code > remarks.md</ code > and the < code > mkiocccentry(1)</ code > generated files
@@ -676,7 +693,7 @@ <h2 id="rule-5---do-not-modify-submitted-files-filenames-or-parent-directories">
676693< p > With the exception of the < code > /tmp</ code > and the < code > /var/tmp</ code > directories,
677694assuming the directory name or filename does < strong > NOT</ strong > start with a < code > .</ code >
678695(dot), your submission < strong > MUST NOT</ strong > create or modify directories and
679- files ABOVE the current directory.</ p >
696+ files < strong > ABOVE</ strong > the current directory.</ p >
680697< p > The < code > Makefile</ code > < code > clobber</ code > target < strong > MUST</ strong > restore your submission to its
681698original form, including the removal of any created files and
682699directories.</ p >
@@ -700,12 +717,11 @@ <h2 id="rule-7---original-work">Rule 7 - Original Work</h2>
700717</ div >
701718</ div >
702719< p class ="leftbar ">
703- You, the author(s), < strong > MUST</ strong > own the contents of your submission,
704- < strong > OR</ strong > , IF you do < strong > NOT</ strong > own the work, then you < strong > MUST</ strong > have
705- permission from the original owner(s) to its use. If you submit
706- < strong > ANY</ strong > content that is owned by others, you < strong > MUST</ strong > detail that
707- ownership, i.e., who owns what, and document the permission you
708- obtained from them in your < code > remarks.md</ code > file.
720+ You, the author(s), < strong > MUST</ strong > own the contents of your submission, < strong > OR</ strong > , IF you
721+ do < strong > NOT</ strong > own the work, then you < strong > MUST</ strong > have permission from the original
722+ owner(s) to its use. If you submit < strong > ANY</ strong > content that is owned by others, you
723+ < strong > MUST</ strong > detail that ownership, i.e., who owns what, and document in your
724+ < code > remarks.md</ code > the permission you obtained from them.
709725</ p >
710726< p class ="leftbar ">
711727You are permitted to use tools to write your code.
@@ -818,7 +834,7 @@ <h2 id="rule-11---legal-rule-abuse">Rule 11 - Legal rule abuse</h2>
818834< h2 id ="rule-12---utf-8 "> Rule 12 - UTF-8</ h2 >
819835</ div >
820836</ div >
821- < p > Use of UTF-8 is supported by < code > C89 </ code > standard and its updates and so too
837+ < p > Use of UTF-8 is supported by < code > C11 </ code > standard and its updates and so too
822838by the IOCCC.</ p >
823839< p > See < a href ="guidelines.html#guideline12-utf8 "> Guidelines for Rule 12 - UTF-8</ a > .</ p >
824840< div id ="rule13 ">
@@ -914,22 +930,25 @@ <h2 id="rule-16---anonymous-judging">Rule 16 - Anonymous judging</h2>
914930< h2 id ="rule-17---use-mkiocccentry "> Rule 17 - Use < code > mkiocccentry</ code > </ h2 >
915931</ div >
916932</ div >
917- < p > TL;DR: use < code > mkiocccentry(1)</ code > to package your submission.</ p >
933+ < p > < strong > TL;DR</ strong > : use < code > mkiocccentry(1)</ code > to package your submission.</ p >
918934< p > The files, directories, and paths < strong > MUST</ strong > conform to the limits
919- imposed by < code > mkiocccentry(1)</ code > , including but < strong > NOT</ strong > limited, to their
935+ imposed by < code > mkiocccentry(1)</ code > , including but < strong > NOT</ strong > limited to, their
920936names, count, path length, directory tree depth, and permissions.</ p >
921937< p class ="leftbar ">
922938The submission tree may have at most < strong > 13</ strong > directories and maximum
923939directory depths of < strong > 4</ strong > . The maximum number of files, excluding
924940< code > prog.c</ code > , < code > remarks.md</ code > , < code > Makefile</ code > , < code > prog.alt.c</ code > , < code > try.sh</ code > ,
925- < code > try.alt.sh</ code > , < code > .info.json</ code > and < code > .auth.json</ code > is < strong > 31</ strong > . And the maximum
926- file-path component is < strong > 38</ strong > and maximum path length is < strong > 60</ strong > .
941+ < code > try.alt.sh</ code > , < code > .info.json</ code > and < code > .auth.json</ code > is < strong > 31</ strong > .
942+ </ p >
943+ < p class ="leftbar ">
944+ The maximum file-path component is < strong > 38</ strong > and the maximum
945+ path length is < strong > 60</ strong > .
927946</ p >
928947< p > The submission < strong > MUST</ strong > be a < code > .txz</ code > compressed tarball (i.e., tarball
929- compressed by < code > xz(1)</ code > ) as constructed by < code > mkiocccentry(1)</ code > , which
948+ compressed by < code > xz(1)</ code > ) < strong > as constructed by</ strong > < code > mkiocccentry(1)</ code > , which
930949< strong > MUST</ strong > be within < strong > [1..3999971]</ strong > bytes in size.</ p >
931950< p > The tarball < strong > MUST</ strong > be a < strong > v7 format</ strong > tarball, and any supplementary
932- tarballs you provide < strong > MUST</ strong > also be < strong > v7 format</ strong > .</ p >
951+ tarballs you provide < strong > MUST ALSO </ strong > be < strong > v7 format</ strong > .</ p >
933952< p > The sum of all file lengths, after unpacking from the tarball, < strong > MUST</ strong >
934953be less than < code > 27651*1024</ code > (< strong > 28314624</ strong > ) bytes.</ p >
935954< p class ="leftbar ">
0 commit comments