40:13:47
-6 days 23:46:13
Assignment is over

Topic 6: Range Query: Segment Tree Easy


Time elapsed

167:46:13

Time Remaining

40:13:47

Starts in

-6 days 23:46:13

Ends in

1 day 16:13:47

Start

2026-02-25 14:00 CET

End

2026-03-06 06:00 CET

Visit Results
Log in
 

Topic 6: Range Query: Segment Tree Easy

Lua

Compiler settings

We use luac 5.4.6 to compile your program with the following command:

$ luac -o {executable} {mainfile}

  • {mainfile} is the entrypoint file (you can specify which file this is when submitting).
  • {executable} is the compiled executable.

Runtime settings

We use lua 5.4.6 to run your program with the following command:

$ lua {executable}

  • {executable} is the compiled executable.

File extensions

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

Additional information

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