Problem exponentiate_ex
User AlphanumericUsername
Submission Time 2023-08-16 16:52:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate_ex.cpp:5:39: error: ‘B’ has not been declared
5 | __int128 IAMAFUCKINGMORON(__int128 A, B, M){
| ^
exponentiate_ex.cpp:5:42: error: ‘M’ has not been declared
5 | __int128 IAMAFUCKINGMORON(__int128 A, B, M){
| ^
exponentiate_ex.cpp: In function ‘__int128 IAMAFUCKINGMORON(__int128, int, int)’:
exponentiate_ex.cpp:7:12: error: ‘B’ was not declared in this scope
7 | while (B > 0) {
| ^
exponentiate_ex.cpp:9:21: error: ‘M’ was not declared in this scope
9 | r = r * A % M;
| ^
exponentiate_ex.cpp:11:19: error: ‘M’ was not declared in this scope
11 | A = A * A % M;
| ^