Problem helloworld
User R9q5P8
Submission Time 2026-03-09 20:57:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp:13:5: error: ‘consteval’ does not name a type; did you mean ‘constexpr’?
13 | consteval Encrypted(const int (&raw)[N]) : data{} {
| ^~~~~~~~~
| constexpr
helloworld.cpp:13:55: error: expected unqualified-id before ‘{’ token
13 | consteval Encrypted(const int (&raw)[N]) : data{} {
| ^
helloworld.cpp: In lambda function:
helloworld.cpp:25:32: error: expected identifier before ‘this’
25 | auto assembler = [key](this auto self, const auto& data, std::size_t idx) -> std::string {
| ^~~~
helloworld.cpp:25:32: error: expected ‘,’ or ‘...’ before ‘this’
helloworld.cpp: In lambda function:
helloworld.cpp:26:17: error: ‘idx’ was not declared in this scope
26 | if (idx >= data.size()) return "";
| ^~~
helloworld.cpp:26:24: error: ‘data’ was not declared