Codeforces / polygon-issue-tracking

polygon-issue-tracking
16 stars 2 forks source link

do not display "Input file name:" and "Output file name:" if stdin/stdout #541

Open andrewzta opened 3 months ago

andrewzta commented 3 months ago

extract from olymp.sty

            \ifdefined\NoInputFileName\else%
            \ifx&#2&%
            \else%
            \kw@InputFileName & \texttt{#2} \\
            \fi\fi%
            \ifdefined\NoOutputFileName\else%
            \ifx&#3&%
            \else%
            \kw@OutputFileName & \texttt{#3} \\
            \fi\fi%

So we should set \NoInputFileName to true and \NoOutputFileName to true, if input is from stdin and output is to stdout