Problem sniper
User jerrielchangjiebin
Submission Time 2024-12-06 15:37:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sniper.cpp: In function ‘int main()’:
sniper.cpp:17:31: error: ‘LLONG_MIN’ was not declared in this scope
17 | long long max_advantage = LLONG_MIN; // Initialize max advantage to the smallest possible value
| ^~~~~~~~~
sniper.cpp:3:1: note: ‘LLONG_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <vector>
+++ |+#include <climits>
3 | using namespace std;