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

Compile Error

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