Problem bacteria
User PlayVoltz
Submission Time 2023-09-18 16:17:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bacteria.cpp: In function ‘std::pair<long long int, long long int> query(long long int, long long int, long long int, long long int, long long int)’:
bacteria.cpp:35:4: error: ‘segmentree’ was not declared in this scope; did you mean ‘segmenttree’?
35 | segmentree[index].second = segmenttree[index].first%2;
| ^~~~~~~~~~
| segmenttree
bacteria.cpp: In function ‘void rangeupdate(long long int, long long int, long long int, long long int, long long int, long long int)’:
bacteria.cpp:61:4: error: ‘segmentree’ was not declared in this scope; did you mean ‘segmenttree’?
61 | segmentree[index].second = segmenttree[index].first%2;
| ^~~~~~~~~~
| segmenttree
bacteria.cpp:78:4: error: ‘segmentree’ was not declared in this scope; did you mean ‘segmenttree’?
78 | segmentree[index].second = segmenttree[index].first%2;
| ^~~~~~~~~~
| segmenttree
bacteria.cpp: In function ‘void chan