Problem | laptop |
---|---|
User | skibidininja98 |
Submission Time | 2024-06-21 13:54:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
laptop.cpp: In function ‘int main()’:
laptop.cpp:9:25: error: ‘int_max’ was not declared in this scope
9 | int minpapplecost = int_max;
| ^~~~~~~
laptop.cpp:17:13: error: ‘foundpapple’ was not declared in this scope
17 | foundpapple = true;
| ^~~~~~~~~~~
laptop.cpp:28:9: error: ‘foundpapple’ was not declared in this scope
28 | if (foundpapple && minpapplecost <= M) {
| ^~~~~~~~~~~
laptop.cpp:29:79: error: ‘minPappleCost’ was not declared in this scope; did you mean ‘minpapplecost’?
29 | cout << "Pan will buy a laptop made by Papple that will cost him " << minPappleCost << "." << endl;
| ^~~~~~~~~~~~~
| minpapplecost
laptop.cpp:31:83: error: ‘minOtherCo