Problem topical
User maximushartanto
Submission Time 2025-10-01 22:14:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

topical.cpp: In member function ‘void segtree::upd(int, int)’:
topical.cpp:35:22: error: ‘std::array<std::pair<int, int>, 2000005>::value_type’ {aka ‘struct std::pair<int, int>’} has no member named ‘v’
35 | for (t[p+=n].v+=v;p>1;p>>=1){
| ^