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