Problem weddingcoins
User aidanvoidout
Submission Time 2024-12-22 09:52:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

weddingcoins.cpp: In function ‘int main()’:
weddingcoins.cpp:13:33: error: ‘LLONG_MAX’ was not declared in this scope
13 | vector<long long> dp(N + 1, LLONG_MAX);
| ^~~~~~~~~
weddingcoins.cpp:4:1: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
3 | #include <algorithm>
+++ |+#include <climits>
4 |