Problem moneychanger
User lty748
Submission Time 2023-12-04 11:12:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

moneychanger.cpp: In function ‘int main()’:
moneychanger.cpp:23:26: error: ‘LLONG_MAX’ was not declared in this scope
23 | vector<ll> dp(k + 1, LLONG_MAX);
| ^~~~~~~~~
moneychanger.cpp:5:1: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
4 | #include <algorithm>
+++ |+#include <climits>
5 | using namespace std;