| Problem | helloworld |
|---|---|
| User | Usu |
| Submission Time | 2025-10-29 23:44:37 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
helloworld.cpp: In function ‘std::vector<int> prefix_function(const string&)’:
helloworld.cpp:85:19: error: expected initializer before ‘.’ token
85 | #define pi fast_io.pi
| ^
helloworld.cpp:180:17: note: in expansion of macro ‘pi’
180 | vector<int> pi(n);
| ^~
helloworld.cpp:182:25: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
182 | int j = pi[i - 1];
| ^
helloworld.cpp:183:51: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
183 | while (j > 0 && s[i] != s[j]) j = pi[j - 1];
| ^
helloworld.cpp:185:13: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
185 | pi[i] = j;
| ^
helloworld.cpp:85:20: error: cannot