Problem | prefixsums |
---|---|
User | Blender |
Submission Time | 2024-04-04 10:05:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prefixsums.cpp:31:12: error: expected ‘)’ before ‘;’ token
31 | ull tree[];
| ^
| )
prefixsums.cpp:30:8: note: to match this ‘(’
30 | ull sum(
| ^
prefixsums.cpp:32:6: error: ‘long long unsigned int index’ redeclared as different kind of entity
32 | ull index,
| ^~~~~
In file included from /usr/include/string.h:432,
from /usr/include/c++/9/cstring:42,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:48,
from prefixsums.cpp:1:
/usr/include/strings.h:61:1: note: previous declaration ‘const char* index(const char*, int)’
61 | index (const char *__s, int __c) __THROW
| ^~~~~
prefixsums.cpp:5:13: error: expected unqualified-id before ‘unsigned’
5 | #define ull unsigned long long
| ^~~~~~~~
prefixsums.cpp:33:2: note: in expansion of macro ‘ull’
33 | ull currentVertexRange