42:58:38
-2 days 10:01:22
Contest is over

UVa Practice 2026-01-28


Time elapsed

58:01:22

Time Remaining

42:58:38

Starts in

-2 days 10:01:22

Ends in

1 day 18:58:38

Start

2026-01-29 00:23 CET

End

2026-02-02 05:23 CET

Visit Scoreboard
Log in
 

UVa Practice 2026-01-28

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