Problem | shamelessad4 |
---|---|
User | giaan1231 |
Submission Time | 2024-12-11 11:20:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
shamelessad4.cpp:2:13: error: expected unqualified-id before ‘long’
2 | #define int long long
| ^~~~
shamelessad4.cpp:4:41: note: in expansion of macro ‘int’
4 | int n, q, a[1000005], mod = 1000000009, int st[1000005], st1[1000005];
| ^~~
shamelessad4.cpp: In function ‘void build(long long int, long long int, long long int)’:
shamelessad4.cpp:7:9: error: ‘st’ was not declared in this scope; did you mean ‘std’?
7 | st[node] = a[l] % mod;
| ^~
| std
shamelessad4.cpp:8:9: error: ‘st1’ was not declared in this scope; did you mean ‘std’?
8 | st1[node] = a[l] % mod;
| ^~~
| std
shamelessad4.cpp:14:5: error: ‘st’ was not declared in this scope; did you mean ‘std’?
14 | st[node] = (st[node * 2] + st[node * 2 + 1]) % mod;
| ^~
| std
shamelessad4.cpp:15:5: error: