Problem photo
User highdelao
Submission Time 2025-02-02 20:16:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

photo.cpp: In function ‘int main()’:
photo.cpp:33:20: error: ‘INT_MAX’ was not declared in this scope
33 | int min_diff = INT_MAX;
| ^~~~~~~
photo.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;