Problem | strikes |
---|---|
User | Reverberate |
Submission Time | 2023-12-16 19:43:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
strikes.cpp:3:13: error: expected ‘,’ or ‘;’ before ‘long’
3 | #define int long long
| ^~~~
strikes.cpp:6:1: note: in expansion of macro ‘int’
6 | int n,q,ans=1;
| ^~~
strikes.cpp: In function ‘int main()’:
strikes.cpp:14:10: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
14 | cin>>n;
| ^
| yn
strikes.cpp:21:10: error: ‘q’ was not declared in this scope
21 | cin>>q;
| ^
strikes.cpp:28:30: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
28 | if(alive[it])ans++;
| ^~~
| abs
strikes.cpp:30:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
30 | ans--;
| ^~~
| abs
strikes.cpp:36:30: error: ‘ans’ was not declared in this scope; did you me