81:34:56
-5 days 6:25:04
Assignment is over

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


Time elapsed

126:25:04

Time Remaining

81:34:56

Starts in

-5 days 6:25:04

Ends in

3 days 9:34:56

Start

2026-02-04 14:00 CET

End

2026-02-13 06:00 CET

Visit Results
Log in
 

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

Modula-2

Compiler settings

We use gm2 13.3.0 to compile your program with the following command:

$ gm2 -flibs=m2iso,m2pim,m2log,m2cor -fiso -fm2-whole-program -O2 {mainfile} -o {executable}

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

File extensions

Files with any of the following file extensions will be used: .mod, .def

Additional information

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