83:29:50
-5 days 4:30:10
Assignment is over

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


Time elapsed

124:30:10

Time Remaining

83:29:50

Starts in

-5 days 4:30:10

Ends in

3 days 11:29:50

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

Prolog

Compiler settings

We use swipl 9.0.4 to compile your program with the following command:

$ swipl -O -q -g main -t halt -o {executable} -c {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: .pl

Additional information

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