40:13:43
-6 days 23:46:17
Assignment is over

Topic 6: Range Query: Segment Tree Easy


Time elapsed

167:46:17

Time Remaining

40:13:43

Starts in

-6 days 23:46:17

Ends in

1 day 16:13:43

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

Ruby

Compiler settings

We use ruby 3.4.4 to compile your program with the following command:

$ ruby -c {file}

  • {file} is each file (the command is run once per file).

Runtime settings

We use ruby 3.4.4 +YJIT +PRISM to run your program with the following command:

$ ruby --yjit '{mainfile}'

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

File extensions

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

Additional information

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