| Problem | magiccarps |
|---|---|
| User | AaravRastogi |
| Submission Time | 2026-01-27 23:34:41 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
magiccarps.cpp: In function ‘int main()’:
magiccarps.cpp:10:42: error: expected primary-expression before ‘)’ token
10 | for (int i = 0 ; i < n ; ++i){cin>>E[i];)
| ^
magiccarps.cpp:12:30: error: expected ‘;’ before ‘)’ token
12 | for (int i = 2 ; i < n ; ++i){
| ^
| ;
magiccarps.cpp:15:8: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
15 | cout<<ans;
| ^~~
| abs
magiccarps.cpp:16:1: error: expected ‘}’ at end of input
16 | }
| ^
magiccarps.cpp:5:14: note: to match this ‘{’
5 | signed main(){
| ^