0:00:00
-1256 days 16:46:10
Assignment is over

Easy C++/coding challenges (19 Jul-12 Aug)


Time elapsed

574:59:59

Time Remaining

0:00:00

Starts in

-1256 days 16:46:10

Ends in

-1232 days 17:46:11

Start

2021-07-19 12:00 CEST

End

2021-08-12 10:59 CEST

Visit Results
Log in

Easy C++/coding challenges (19 Jul-12 Aug)

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