Problem exponentiate
User yuanbin
Submission Time 2026-03-14 12:00:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:22:37: error: ‘power’ cannot be used as a function
22 | printf("%lld\n", power(base, power) % mod);
| ^