Problem laptop
User ilovepythonandhatecplusplus
Submission Time 2024-07-20 16:22:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

laptop.cpp: In function ‘std::string find_laptop(int, long long int, const std::vector<std::pair<int, long long int> >&)’:
laptop.cpp:7:33: error: ‘LLONG_MAX’ was not declared in this scope
7 | long long min_papple_cost = LLONG_MAX;
| ^~~~~~~~~
laptop.cpp:3:1: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <vector>
+++ |+#include <climits>
3 | #include <limits>