Problem rabbiteatrabbit
User MegaG
Submission Time 2026-01-27 21:37:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rabbiteatrabbit.cpp: In function ‘long long int solveLinear(std::vector<long long int>&, int)’:
rabbiteatrabbit.cpp:11:66: error: ‘LLONG_MIN’ was not declared in this scope
11 | vector<vector<long long>> dp(n + 1, vector<long long>(k + 1, LLONG_MIN / 2));
| ^~~~~~~~~
rabbiteatrabbit.cpp:4:1: note: ‘LLONG_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
3 | #include <algorithm>
+++ |+#include <climits>
4 | using namespace std;
rabbiteatrabbit.cpp: In function ‘int main()’:
rabbiteatrabbit.cpp:57:24: error: ‘LLONG_MIN’ was not declared in this scope
57 | long long answer = LLONG_MIN / 2;
| ^~~~~~~~~
rabbiteatrabbit.cpp:57:24: note: ‘LLONG_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?