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