Problem dayum
User gisellariddlemorozova834
Submission Time 2025-06-20 16:10:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dayum.cpp: In function ‘int main()’:
dayum.cpp:7:11: error: expected identifier before numeric constant
7 | int N = [16, 17, 18, 19, 20]
| ^~
dayum.cpp:7:13: error: expected ‘]’ before ‘,’ token
7 | int N = [16, 17, 18, 19, 20]
| ^
| ]
dayum.cpp: In lambda function:
dayum.cpp:7:13: error: expected ‘{’ before ‘,’ token
dayum.cpp: In function ‘int main()’:
dayum.cpp:7:13: error: invalid user-defined conversion from ‘main()::<lambda()>’ to ‘long long int’ [-fpermissive]
dayum.cpp:7:10: note: candidate is: ‘constexpr main()::<lambda()>::operator void (*)()() const’ <near match>
7 | int N = [16, 17, 18, 19, 20]
| ^
dayum.cpp:7:10: note: no known conversion from ‘void (*)()’ to ‘long long int’
dayum.cpp:7:15: error: expected unqualified-id before numeric constant
7 | int N = [16, 17, 18, 19, 20]
| ^~
dayum.cpp: