Problem nis
User hariaakash646
Submission Time 2023-10-18 13:34:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nis.cpp: In function ‘int main()’:
nis.cpp:208:9: error: ‘iny’ was not declared in this scope; did you mean ‘int’?
208 | iny v = segtree.query(0, a-1);
| ^~~
| int
nis.cpp:210:30: error: ‘v’ was not declared in this scope
210 | segtree.update(a, a, v);
| ^
nis.cpp:212:5: error: ‘iny’ was not declared in this scope; did you mean ‘int’?
212 | iny tot = segtree.query(1, 1e9);
| ^~~
| int
nis.cpp:213:18: error: ‘tot’ was not declared in this scope
213 | printf("%d", tot);
| ^~~