Problem | typicalstairs |
---|---|
User | eliasxyz |
Submission Time | 2025-06-14 00:13:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
typicalstairs.cpp: In function ‘int main()’:
typicalstairs.cpp:7:14: error: expected identifier before numeric constant
7 | int A[N+1]=[0]*(N+1);
| ^
typicalstairs.cpp: In lambda function:
typicalstairs.cpp:7:16: error: expected ‘{’ before ‘*’ token
7 | int A[N+1]=[0]*(N+1);
| ^
typicalstairs.cpp: In function ‘int main()’:
typicalstairs.cpp:7:16: error: no match for ‘operator*’ (operand types are ‘main()::<lambda()>’ and ‘int’)
7 | int A[N+1]=[0]*(N+1);
In file included from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from typicalstairs.cpp:1:
/usr/include/c++/9/complex:391:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const std::complex<_Tp>&)’
391 | operator*(const complex<_Tp>& __x, const complex<_Tp>& __