Problem sparsetable
User KCL
Submission Time 2026-03-09 14:46:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sparsetable.cpp: In function ‘int main(int, char**)’:
sparsetable.cpp:21:25: error: ‘min’ is not a member of ‘std’
21 | st[i][pow] = std::min(st[i][pow-1], st[i+step][pow-1]);
| ^~~
sparsetable.cpp:34:25: error: ‘min’ is not a member of ‘std’
34 | printf("%d\n", std::min(st[start][pow], st[start+offset][pow]));
| ^~~