| Problem | feast |
|---|---|
| User | a |
| Submission Time | 2025-11-19 12:07:04 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
feast.cpp: In function ‘int main()’:
feast.cpp:81:15: error: expected initializer before ‘-=’ token
81 | int totdiff -= (nummys[curr]>0?1:0);
| ^~
feast.cpp:85:4: error: ‘totdiff’ was not declared in this scope; did you mean ‘modff’?
85 | totdiff -= (nummys[linyi]>0?1:0);
| ^~~~~~~
| modff
feast.cpp:92:4: error: ‘totdiff’ was not declared in this scope; did you mean ‘modff’?
92 | totdiff -= (nummys[liner]>0?1:0);
| ^~~~~~~
| modff
feast.cpp:97:3: error: ‘totdiff’ was not declared in this scope; did you mean ‘modff’?
97 | totdiff += (nummys[curr]>0?1:0);
| ^~~~~~~
| modff
feast.cpp:101:36: error: no matching function for call to ‘abs(__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type&, long long int&)’
101 | tbm.push(mp(abs(nummys[curr],curr));
|