Problem segmenttree2
User Potatodef
Submission Time 2023-02-12 01:10:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree2.cpp: In function ‘int main()’:
segmenttree2.cpp:3:5: error: ‘ios’ has not been declared
3 | ios::sync_with_stdio(0);
| ^~~
segmenttree2.cpp:4:2: error: ‘cin’ was not declared in this scope
4 | cin.tie(0);
| ^~~
segmenttree2.cpp:45:17: error: ‘cout’ was not declared in this scope
45 | cout << root->query(l-1,r-1) << "\n";
| ^~~~