| Problem | moneychanger |
|---|---|
| User | rogueee |
| Submission Time | 2025-02-08 21:27:59 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
moneychanger.cpp: In function ‘int main()’:
moneychanger.cpp:14:11: error: ‘INT_MAX’ was not declared in this scope
14 | dp[i] = INT_MAX;
| ^~~~~~~
moneychanger.cpp:2:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
1 | #include <iostream>
+++ |+#include <climits>
2 |
moneychanger.cpp:27:15: error: ‘INT_MAX’ was not declared in this scope
27 | if (dp[v] == INT_MAX) {
| ^~~~~~~
moneychanger.cpp:27:15: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?