0_0_39095982_25264.cpp: In function 'void solve(char)':
0_0_39095982_25264.cpp:33:23: error: 'min' was not declared in this scope
33 | for (int k = 1; k <= min(a[j], 500); ++ k) {
| ^~~
0_0_39095982_25264.cpp:33:23: note: suggested alternatives:
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:61,
from .\stdc++.h:51:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:5785:5: note: 'std::min'
5785 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_algo.h:39,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:63:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_util.h:733:29: note: 'std::ranges::min'
733 | inline constexpr __min_fn min{};
| ^~~
|