joi2019_ho_t3.cpp: In function 'void solve()':
joi2019_ho_t3.cpp:71:47: error: 'cy' was not declared in this scope; did you mean 'py'?
71 | vector<vector<vector<vector<ll>>>> dp(cy.back() + 1, vector<vector<vector<ll>>>(pr.back() + 1, vector<vector<ll>>(pg.back() + 1, vector<ll>(3, INF32))));
| ^~
| py
joi2019_ho_t3.cpp:102:142: error: no matching function for call to 'min(<brace-enclosed initializer list>)'
102 | ll ans = min({dp[cy.back()][pr.back()][pg.back()][0], dp[cy.back()][pr.back()][pg.back()][1], dp[cy.back()][pr.back()][pg.back()][2]});
| ^
In file included from /usr/include/c++/10/bits/specfun.h:45,
from /usr/include/c++/10/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:41,
from joi2019_ho_t3.cpp:3:
/usr/include/c++/10/bits/stl_algobase.h:230:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::min(const _Tp&, const _Tp&)'
230 | min(const _Tp& __a, const _Tp& __b)
| ^~~
/usr/include/c++/10/bits/stl_algobase.h:230:5: note: template argument deduction/substitution failed:
joi2019_ho_t3.cpp:102:142: note: candidate expects 2 arguments, 1 provided
102 | ll ans = min({dp[cy.back()][pr.back()][pg.back()][0], dp[cy.back()][pr.back()][pg.back()][1], dp[cy.back()][pr.back()][pg.back()][2]});
| ^
In file included from /usr/include/c++/10/bits/specfun.h:45,
from /usr/include/c++/10/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:41,
from joi2019_ho_t3.cpp:3:
/usr/include/c++/10/bits/stl_algobase.h:278:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::min(const _Tp&, const _Tp&, _Compare)'
278 | min(const _Tp& __a, const _Tp& __b, _Compare __comp)
| ^~~
/usr/include/c++/10/bits/stl_algobase.h:278:5: note: template argument deduction/substitution failed:
joi2019_ho_t3.cpp:102:142: note: candidate expects 3 arguments, 1 provided
102 | ll ans = min({dp[cy.back()][pr.back()][pg.back()][0], dp[cy.back()][pr.back()][pg.back()][1], dp[cy.back()][pr.back()][pg.back()][2]});
| ^
In file included from /usr/include/c++/10/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from joi2019_ho_t3.cpp:3:
/usr/include/c++/10/bits/stl_algo.h:3468:5: note: candidate: 'template<class _Tp> constexpr _Tp std::min(std::initializer_list<_Tp>)'
3468 | min(initializer_list<_Tp> __l)
| ^~~
/usr/include/c++/10/bits/stl_algo.h:3468:5: note: template argument deduction/substitution failed:
/usr/include/c++/10/bits/stl_algo.h:3474:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::min(std::initializer_list<_Tp>, _Compare)'
3474 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
/usr/include/c++/10/bits/stl_algo.h:3474:5: note: template argument deduction/substitution failed:
joi2019_ho_t3.cpp: In function 'int main()':
joi2019_ho_t3.cpp:108:24: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
108 | freopen("", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~
joi2019_ho_t3.cpp:109:24: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
109 | freopen("", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~