Problem | construct |
---|---|
User | louisleehi |
Submission Time | 2024-02-18 13:47:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
construct.cpp: In function ‘int main()’:
construct.cpp:6:3: error: expected ‘,’ or ‘;’ before ‘ll’
6 | ll n,m,ans=1;
| ^~
construct.cpp:7:10: error: ‘n’ was not declared in this scope
7 | cin >> n >> m;
| ^
construct.cpp:7:15: error: ‘m’ was not declared in this scope
7 | cin >> n >> m;
| ^
construct.cpp:9:4: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
9 | ans = (ans*n)%a
| ^~~
| abs
construct.cpp:11:11: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
11 | cout << ans;
| ^~~
| abs