0:00:00
-2289 days 12:22:50
Contest is over

2018 Asia Singapore Preliminary Contest


Time elapsed

5:00:00

Time Remaining

0:00:00

Starts in

-2289 days 12:22:50

Ends in

-2289 days 7:22:50

Start

2018-09-15 04:00 CEST

End

2018-09-15 09:00 CEST

Visit Scoreboard
Log in
2018 Asia Singapore Preliminary Contest

2018 Asia Singapore Preliminary Contest

PHP

Compiler settings

We use php 8.3.6 to compile your program with the following command:

$ php -n -d display_errors=stderr -d html_errors=0 -l {files}

  • {files} is a space-separated list of all files.

Runtime settings

We use php 8.3.6 to run your program with the following command:

$ php -n -d display_errors=stderr -d html_errors=0 -d memory_limit={memlim}m -r "{php_preamble} require '{mainfile}';"

  • {mainfile} is the entrypoint file (you can specify which file this is when submitting).
  • {memlim} is the actual memory limit for the problem you are submitting to.
  • {php_preamble} sets a custom error handler that treats warnings as errors.

File Extensions

Files with any of the following file extensions will be used: .php

Additional information

Additional language-specific advice and information for many languages is available in the knowledge base