Problem lightningrod
User purpleblackferret
Submission Time 2024-01-05 02:48:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lightningrod.cpp: In function ‘int32_t main()’:
lightningrod.cpp:65:72: error: insufficient contextual information to determine type
65 | partial_sum(all(xyplus), xyplus.begin(), (const int&(*)(int&, int&))(max<int>));
| ~^~~~~~~~~
lightningrod.cpp:66:76: error: insufficient contextual information to determine type
66 | partial_sum(allr(xyminus), xyminus.rbegin(), (const int&(*)(int&, int&))(min<int>));
| ~^~~~~~~~~