Problem exponentiate
User highdelao
Submission Time 2023-07-20 09:57:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:5:17: error: ‘T’ was not declared in this scope
5 | std::cin >> T;
| ^
exponentiate.cpp:10:24: error: invalid type argument of unary ‘*’ (have ‘int’)
10 | result = (A ** B) % M;
| ^