Problem moneychanger
User YEethui
Submission Time 2023-11-01 09:32:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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