bulves.cpp:28:20: error: 'numeric_limits' was not declared in this scope; did you mean 'std::numeric_limits'?
28 | const ll inf = numeric_limits<ll>::max;
| ^~~~~~~~~~~~~~
| std::numeric_limits
In file included from /usr/include/c++/10/bits/uniform_int_dist.h:35,
from /usr/include/c++/10/bits/stl_algo.h:66,
from /usr/include/c++/10/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from bulves.cpp:4:
/usr/include/c++/10/limits:312:12: note: 'std::numeric_limits' declared here
312 | struct numeric_limits : public __numeric_limits_base
| ^~~~~~~~~~~~~~
bulves.cpp:28:37: error: expected primary-expression before '>' token
28 | const ll inf = numeric_limits<ll>::max;
| ^
bulves.cpp:28:40: error: '::max' has not been declared; did you mean 'std::max'?
28 | const ll inf = numeric_limits<ll>::max;
| ^~~
| std::max
In file included from /usr/include/c++/10/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from bulves.cpp:4:
/usr/include/c++/10/bits/stl_algo.h:3486:5: note: 'std::max' declared here
3486 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
bulves.cpp: In member function 'void slope_trick::print_slope_trick()':
bulves.cpp:84:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
84 | for (int cor : left_set)
| ^~~
bulves.cpp:86:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
86 | std::cout << endl;
| ^~~
bulves.cpp: In function 'void readChar()':
bulves.cpp:15:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | if (++buffPos == BUFF_SIZE) fread(buff, BUFF_SIZE, 1, stdin), buffPos = 0;
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~