0:00:00
-17 days 4:20:45
Assignment is over

Topic 3: Number Theory: Binary Exponentiation, Sieve, ExGCD


Time elapsed

208:00:00

Time Remaining

0:00:00

Starts in

-17 days 4:20:45

Ends in

-8 days 12:20:45

Start

2025-02-05 14:00 CET

End

2025-02-14 06:00 CET

Visit Results
Log in

Topic 3: Number Theory: Binary Exponentiation, Sieve, ExGCD

Swift

Compiler settings

We use swiftc 5.8.1 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