Problem | guessproblem |
---|---|
User | Craftless |
Submission Time | 2023-01-02 20:32:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
guessproblem.cpp: In function ‘int32_t main()’:
guessproblem.cpp:17:13: error: expected identifier before string constant
17 | int arr = ["atm",
| ^~~~~
guessproblem.cpp:17:18: error: expected ‘]’ before ‘,’ token
17 | int arr = ["atm",
| ^
| ]
guessproblem.cpp: In lambda function:
guessproblem.cpp:17:18: error: expected ‘{’ before ‘,’ token
guessproblem.cpp: In function ‘int32_t main()’:
guessproblem.cpp:17:18: error: invalid user-defined conversion from ‘main()::<lambda()>’ to ‘long long int’ [-fpermissive]
guessproblem.cpp:17:12: note: candidate is: ‘constexpr main()::<lambda()>::operator void (*)()() const’ <near match>
17 | int arr = ["atm",
| ^
guessproblem.cpp:17:12: note: no known conversion from ‘void (*)()’ to ‘long long int’
guessproblem.cpp:18:1: error: expected unqualified-id before string constant
18 | "car"