report VI VI EN
Register | Login
  • HOME
  • PROBLEMSET
  • ROADMAP
  • COMPETITION
  • TOPIC
  • RANKING
  • GUIDE
  • MASHUP
  • ABOUT
  • CONTACT
  • Problem
  • Submit
  • Results
Complex Exponentiation - MarisaOJ: Marisa Online Judge

Complex Exponentiation

Time limit: 1000 ms
Memory limit: 256 MB
You are given 3 integers $a, b, c$. Print the result of the expression: $a ^ b \\; \\% \\; c$. Note that $\\%$ is the modulo operation. ### Input - A single line contains 3 integers $a, b, c$. ### Output - A single integer which is the result of the expression. ### Constraints - $1 \le a, b, c \le 10^3$. ### Example Input: ```3 5 10``` Output: ```3```
Loop
Loop
Even numbers
Factorial
Star Triangle
Folding paper
Fraction
Divisors
Complex Exponentiation
Prime number
Digit Sum
Fibonacci
Read number till eternity
Extremal
Reverse
Mushroom exchanging
Trailing zeros
Decimal to binary
Binary to decimal
Division
Solution
Topic
Basic
Rating 800
Solution (0) Solution