190:52:01
-17:07:59
Assignment is over

Topic 6: Range Query: Segment Tree Easy


Time elapsed

17:07:59

Time Remaining

190:52:01

Starts in

-17:07:59

Ends in

7 days 22:52:01

Start

2025-10-08 14:00 CEST

End

2025-10-17 06:00 CEST

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