Problem moneychanger
User rasquait
Submission Time 2026-02-20 22:15:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

moneychanger.cpp: In function ‘int main()’:
moneychanger.cpp:10:19: error: ‘INT_MAX’ was not declared in this scope
10 | vector<int> v(b, INT_MAX);
| ^~~~~~~
moneychanger.cpp:4:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
3 | #include <algorithm>
+++ |+#include <climits>
4 | using namespace std;