Problem | lunchcombo |
---|---|
User | HighLithop |
Submission Time | 2025-06-10 14:48:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchcombo.cpp: In function ‘int main()’:
lunchcombo.cpp:58:22: error: ‘LLONG_MAX’ was not declared in this scope
58 | meal_t next_main = {LLONG_MAX, 1, 0};
| ^~~~~~~~~
lunchcombo.cpp:4:1: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
3 | #include <algorithm>
+++ |+#include <climits>
4 | typedef long long int ll;
lunchcombo.cpp:58:37: error: could not convert ‘{<expression error>, 1, 0}’ from ‘<brace-enclosed initializer list>’ to ‘std::tuple<int, int, int>’
58 | meal_t next_main = {LLONG_MAX, 1, 0};
| ^
| |
| <brace-enclosed initializer list>