Problem exponentiate
User Dolphy
Submission Time 2023-06-12 12:47:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:5:12: error: expected ‘;’ before ‘int’
5 | cin.tie(0)
| ^
| ;
6 | int i,j,a,b,mod,times;
| ~~~
exponentiate.cpp:7:12: error: ‘times’ was not declared in this scope; did you mean ‘time’?
7 | cin >> times;
| ^~~~~
| time
exponentiate.cpp:9:10: error: ‘i’ was not declared in this scope
9 | for (i=0; i<times; i++){
| ^
exponentiate.cpp:10:9: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
10 | num[i] = 1;
| ^~~
| enum
exponentiate.cpp:11:16: error: ‘a’ was not declared in this scope
11 | cin >> a >> b >> mod;
| ^
exponentiate.cpp:11:21: error: ‘b’ was not declared in this scope
11 | cin >> a >> b >> m