Problem plagia
User LCJLY
Submission Time 2023-03-24 23:40:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

plagia.cpp: In function ‘std::array<long long int, 40> combine(std::array<long long int, 40>, std::array<long long int, 40>)’:
plagia.cpp:8:25: error: no matching function for call to ‘std::array<long long int, 40>::array(int, int)’
8 | array<int, 40>hold(40,0);
| ^
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 plagia.cpp:1:
/usr/include/c++/9/array:94:12: note: candidate: ‘std::array<long long int, 40>::array()’
94 | struct array
| ^~~~~
/usr/include/c++/9/array:94:12: note: candidate expects 0 arguments, 2 provided
/usr/include/c++/9/array:94:12: note: candidate: ‘co