Problem | anutforajaroftuna |
---|---|
User | G |
Submission Time | 2024-03-13 15:44:06 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
anutforajaroftuna.cpp: In function ‘int main()’:
anutforajaroftuna.cpp:14:13: error: expected primary-expression before ‘;’ token
14 | for(int i=-;i<n;i++) nA+=a[i];
| ^
anutforajaroftuna.cpp:16:3: error: ‘mid’ was not declared in this scope
16 | mid=(hi+lo)/2;
| ^~~
anutforajaroftuna.cpp:17:3: error: ‘nB’ was not declared in this scope; did you mean ‘nA’?
17 | nB=0;
| ^~
| nA
anutforajaroftuna.cpp:30:16: error: expected ‘}’ at end of input
30 | cout << k << t;
| ^
anutforajaroftuna.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^