mascots.cpp: In function 'void solve()':
mascots.cpp:33:30: error: 'INT_MAX' was not declared in this scope
33 | pair<int , int> s = {INT_MAX , INT_MAX} , t = {-1 , -1};
| ^~~~~~~
mascots.cpp:6:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
5 | #include <chrono>
+++ |+#include <climits>
6 | #define all(x) x.begin(), x.end()
mascots.cpp:33:47: error: could not convert '{<expression error>, INT_MAX}' from '<brace-enclosed initializer list>' to 'std::pair<long long int, long long int>'
33 | pair<int , int> s = {INT_MAX , INT_MAX} , t = {-1 , -1};
| ^
| |
| <brace-enclosed initializer list>
mascots.cpp: In function 'int main()':
mascots.cpp:61:24: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
61 | freopen(task".inp", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
mascots.cpp:62:24: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
62 | freopen(task".out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~