Problem | laptop |
---|---|
User | skibidininja98 |
Submission Time | 2024-06-21 14:04:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
laptop.cpp: In function ‘int main()’:
laptop.cpp:9:5: error: ‘longlong’ was not declared in this scope
9 | longlong minpapplecost = INT_MAX;
| ^~~~~~~~
laptop.cpp:10:13: error: expected ‘;’ before ‘minothercost’
10 | longlong minothercost = INT_MAX;
| ^~~~~~~~~~~~~
| ;
laptop.cpp:18:31: error: ‘minpapplecost’ was not declared in this scope
18 | if (C <= M && C < minpapplecost) {
| ^~~~~~~~~~~~~
laptop.cpp:22:31: error: ‘minothercost’ was not declared in this scope
22 | if (C <= M && C < minothercost) {
| ^~~~~~~~~~~~
laptop.cpp:28:24: error: ‘minpappleCost’ was not declared in this scope
28 | if (foundpapple && minpappleCost <= M) {
| ^~~~~~~~~~~~~
laptop.cpp:29:79: error: ‘minpapplecost’ was not declared in this scope