95:59:06
-3 days 0:00:54
Contest is over

NYCU CP1 Week 11 (2025 Spring)


Time elapsed

72:00:54

Time Remaining

95:59:06

Starts in

-3 days 0:00:54

Ends in

3 days 23:59:06

Start

2025-05-02 12:30 CEST

End

2025-05-09 12:30 CEST

Visit Scoreboard
Log in
 

NYCU CP1 Week 11 (2025 Spring)

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