Problem exponentiate_ex
User Hytoh
Submission Time 2023-09-13 16:15:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate_ex.cpp: In function ‘int main()’:
exponentiate_ex.cpp:6:2: error: expected initializer before ‘__int128_t’
6 | __int128_t base, exponent, modulus;
| ^~~~~~~~~~
exponentiate_ex.cpp:8:2: error: ‘base’ was not declared in this scope
8 | base %= modulus;
| ^~~~
exponentiate_ex.cpp:8:17: error: missing template arguments before ‘;’ token
8 | base %= modulus;
| ^
exponentiate_ex.cpp:9:9: error: ‘testcases’ was not declared in this scope
9 | cin >> testcases;
| ^~~~~~~~~
exponentiate_ex.cpp:12:18: error: ‘exponent’ was not declared in this scope
12 | cin >> base >> exponent >> modulus;
| ^~~~~~~~
exponentiate_ex.cpp:12:37: error: missing template arguments before ‘;’ token
12 | cin >> base >> exponent >> modulus;
| ^
exponentiate_ex.cpp:16: