Problem | cardtrick |
---|---|
User | Huoi |
Submission Time | 2025-06-18 14:22:28 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cardtrick.cpp: In function ‘void solve()’:
cardtrick.cpp:22:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
22 | ans += a[i];
| ^~~
| abs
cardtrick.cpp:27:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
27 | ans += a[j];
| ^~~
| abs