Problem exponentiate
User Blender
Submission Time 2024-03-04 15:46:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘long long unsigned int power(unsigned int, unsigned int, unsigned int)’:
exponentiate.cpp:20:39: error: too few arguments to function ‘long long unsigned int power(unsigned int, unsigned int, unsigned int)’
20 | result = power( squaredAmodM, halfB );
| ^
exponentiate.cpp:9:5: note: declared here
9 | ull power( uint A, uint B, uint M )
| ^~~~~