Problem lis_easy
User yongteckrice
Submission Time 2023-02-14 08:08:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:9:2: error: template placeholder type ‘array<...auto...>’ must be followed by a simple declarator-id
9 | array nums[N];
| ^~~~~
In file included from /usr/include/c++/9/tuple:39,
from /usr/include/c++/9/functional:54,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from lis_easy.cpp:1:
/usr/include/c++/9/array:94:12: note: ‘template<class _Tp, long unsigned int _Nm> struct std::array’ declared here
94 | struct array
| ^~~~~
lis_easy.cpp:10:2: error: template placeholder type ‘array<...auto...>’ must be followed by a simple declarator-id
10 | array utility[N];
| ^~~~~
In file included from /usr/include/c++/9/tuple:39,