40:11:19
-6 days 23:48:41
Assignment is over

Topic 6: Range Query: Segment Tree Easy


Time elapsed

167:48:41

Time Remaining

40:11:19

Starts in

-6 days 23:48:41

Ends in

1 day 16:11:19

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

Swift

Compiler settings

We use swiftc 6.1.2 to compile your program with the following command:

$ swiftc -o {executable} -static-stdlib -module-cache-path .cache -O {files}

  • {files} is a space-separated list of all files.
  • {executable} is the compiled executable.

File extensions

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

Additional information

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