Problem moneychanger
User aidanvoidout
Submission Time 2024-12-22 11:35:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

moneychanger.cpp: In function ‘int main()’:
moneychanger.cpp:17:27: error: ‘INT_MAX’ was not declared in this scope
17 | vector<int> dp(V + 1, INT_MAX);
| ^~~~~~~
moneychanger.cpp:4:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
3 | #include <iostream>
+++ |+#include <climits>
4 |