Problem | catlunch |
---|---|
User | nothing |
Submission Time | 2023-07-10 16:37:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
catlunch.cpp: In function ‘int main()’:
catlunch.cpp:26:5: error: ‘toAdd’ was not declared in this scope
26 | toAdd += tmp;
| ^~~~~
catlunch.cpp:35:9: error: ‘smallest’ was not declared in this scope
35 | if (smallest == 0)
| ^~~~~~~~
catlunch.cpp:41:5: error: ‘toAdd’ was not declared in this scope
41 | toAdd += tmp;
| ^~~~~
catlunch.cpp:42:28: error: ‘smallest’ was not declared in this scope
42 | if (tmp > 0 && toAdd - smallest > 0)
| ^~~~~~~~