| Problem | catlunch |
|---|---|
| User | wahjsodhowasd |
| Submission Time | 2026-02-15 18:09:22 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
catlunch.cpp: In function ‘int main()’:
catlunch.cpp:25:27: error: expected ‘;’ before ‘}’ token
25 | else{neg.push_back(v[i])}
| ^
| ;
catlunch.cpp:37:5: error: expected ‘,’ or ‘;’ before ‘if’
37 | if(*it>v[i]){
| ^~
catlunch.cpp:40:5: error: expected ‘}’ before ‘else’
40 | else{
| ^~~~
catlunch.cpp:35:7: note: to match this ‘{’
35 | else{
| ^
catlunch.cpp:40:5: error: expected ‘}’ before ‘else’
40 | else{
| ^~~~
catlunch.cpp:29:19: note: to match this ‘{’
29 | if(total-best<0){
| ^
catlunch.cpp:41:13: error: expected ‘;’ before ‘}’ token
41 | best +=v[i]}
| ^
| ;
catlunch.cpp:44:3: error: ‘else’ without a previous ‘if’
44 | else{T+= total-best}
| ^~~~
catlunch.cpp:44:22: error: expec