Problem | segmenttreebeats |
---|---|
User | chenweilian |
Submission Time | 2024-01-28 18:29:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
segmenttreebeats.cpp: In function ‘void modify(long long int, long long int)’:
segmenttreebeats.cpp:68:13: error: ‘arr’ was not declared in this scope
68 | upd(arr[*pos]);
| ^~~
segmenttreebeats.cpp: In function ‘int main()’:
segmenttreebeats.cpp:83:16: error: ‘arr’ was not declared in this scope
83 | cin >> arr[i];
| ^~~
segmenttreebeats.cpp:86:13: error: ‘arr’ was not declared in this scope
86 | if (arr[i] >= 10) {
| ^~~
segmenttreebeats.cpp:98:21: error: ‘arr’ was not declared in this scope
98 | cout << arr[x] << endl;
| ^~~