Problem laptop
User skibidininja98
Submission Time 2024-06-21 13:55:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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) {
| ^~~~~~~~~~~