0_0_39553147_7231.cpp:11:16: error: aggregate 'std::array<int, 128> rk0' has incomplete type and cannot be defined
11 | array<int,128> rk0,rk1;
| ^~~
0_0_39553147_7231.cpp:11:20: error: aggregate 'std::array<int, 128> rk1' has incomplete type and cannot be defined
11 | array<int,128> rk0,rk1;
| ^~~
0_0_39553147_7231.cpp:25:38: error: return type 'struct std::array<int, 5>' is incomplete
25 | array<int,5> sp(const array<pcc,5> &v){
| ^
0_0_39553147_7231.cpp: In function 'void sp(const std::array<std::pair<char, char>, 5>&)':
0_0_39553147_7231.cpp:26:22: error: aggregate 'std::array<int, 5> r' has incomplete type and cannot be defined
26 | array<int,5> r;
| ^
0_0_39553147_7231.cpp:28:27: error: no match for 'operator[]' (operand types are 'const std::array<std::pair<char, char>, 5>' and 'int')
28 | r[i]=rk0[v[i].first];
| ^
0_0_39553147_7231.cpp: At global scope:
0_0_39553147_7231.cpp:32:38: error: return type 'struct std::array<int, 5>' is incomplete
32 | array<int,5> dz(const array<pcc,5> &v){
| ^
0_0_39553147_7231.cpp: In function 'void dz(const std::array<std::pair<char, char>, 5>&)':
0_0_39553147_7231.cpp:35:27: error: range-based 'for' expression of type 'const std::array<std::pair<char, char>, 5>' has incomplete type
35 | for(const auto &s:v)
| ^
0_0_39553147_7231.cpp:40:38: error: aggregate 'std::array<int, 5> r' has incomplete type and cannot be defined
40 | array<int,5> r;
| ^
0_0_39553147_7231.cpp: At global scope:
0_0_39553147_7231.cpp:53:38: error: return type 'struct std::array<int, 5>' is incomplete
53 | array<int,5> ld(const array<pcc,5> &v){
| ^
0_0_39553147_7231.cpp: In function 'void ld(const std::array<std::pair<char, char>, 5>&)':
0_0_39553147_7231.cpp:56:27: error: range-based 'for' expression of type 'const std::array<std::pair<char, char>, 5>' has incomplete type
56 | for(const auto &s:v)
| ^
0_0_39553147_7231.cpp:63:54: error: aggregate 'std::array<int, 5> r' has incomplete type and cannot be defined
63 | array<int,5> r;
| ^
0_0_39553147_7231.cpp: At global scope:
0_0_39553147_7231.cpp:79:40: error: return type 'struct std::array<int, 5>' is incomplete
79 | array<int,5> sant(const array<pcc,5> &v){
| ^
0_0_39553147_7231.cpp: In function 'void sant(const std::array<std::pair<char, char>, 5>&)':
0_0_39553147_7231.cpp:82:27: error: range-based 'for' expression of type 'const std::array<std::pair<char, char>, 5>' has incomplete type
82 | for(const auto &s:v)
| ^
0_0_39553147_7231.cpp:87:38: error: aggregate 'std::array<int, 5> r' has incomplete type and cannot be defined
87 | array<int,5> r;
| ^
0_0_39553147_7231.cpp: At global scope:
0_0_39553147_7231.cpp:100:38: error: return type 'struct std::array<int, 5>' is incomplete
100 | array<int,5> sz(const array<pcc,5> &v){
| ^
0_0_39553147_7231.cpp: In function 'void sz(const std::array<std::pair<char, char>, 5>&)':
0_0_39553147_7231.cpp:101:22: error: aggregate 'std::array<int, 5> r' has incomplete type and cannot be defined
101 | array<int,5> r;
| ^
0_0_39553147_7231.cpp:103:27: error: no match for 'operator[]' (operand types are 'const std::array<std::pair<char, char>, 5>' and 'int')
103 | r[i]=rk0[v[i].first];
| ^
0_0_39553147_7231.cpp:114:27: error: no match for 'operator[]' (operand types are 'const std::array<std::pair<char, char>, 5>' and 'int')
114 | r[i]=rk1[v[i].first];
| ^
0_0_39553147_7231.cpp: At global scope:
0_0_39553147_7231.cpp:126:38: error: return type 'struct std::array<int, 5>' is incomplete
126 | array<int,5> th(const array<pcc,5> &v){
| ^
0_0_39553147_7231.cpp: In function 'void th(const std::array<std::pair<char, char>, 5>&)':
0_0_39553147_7231.cpp:127:27: error: invalid use of incomplete type 'const struct std::array<std::pair<char, char>, 5>'
127 | for(int i=1;i<int(v.size());++i)
| ^
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/uses_allocator_args.h:38,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/memory_resource.h:41,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/string:58,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/locale_classes.h:40,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ios_base.h:41,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ios:44,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ostream:40,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:41,
from 0_0_39553147_7231.cpp:1:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/tuple:2005:45: note: declaration of 'struct std::array<std::pair<char, char>, 5>'
2005 | template<typename _Tp, size_t _Nm> struct array;
| ^~~~~
0_0_39553147_7231.cpp:128:21: error: no match for 'operator[]' (operand types are 'const std::array<std::pair<char, char>, 5>' and 'int')
128 | if(v[i].second!=v[0].second)
| ^
0_0_39553147_7231.cpp:128:34: error: no match for 'operator[]' (operand types are 'const std::array<std::pair<char, char>, 5>' and 'int')
128 | if(v[i].second!=v[0].second)
| ^
0_0_39553147_7231.cpp:130:22: error: aggregate 'std::array<int, 5> r' has incomplete type and cannot be defined
130 | array<int,5> r;
| ^
0_0_39553147_7231.cpp:132:27: error: no match for 'operator[]' (operand types are 'const std::array<std::pair<char, char>, 5>' and 'int')
132 | r[i]=rk0[v[i].first];
| ^
0_0_39553147_7231.cpp: At global scope:
0_0_39553147_7231.cpp:136:38: error: return type 'struct std::array<int, 5>' is incomplete
136 | array<int,5> hl(const array<pcc,5> &v){
| ^
0_0_39553147_7231.cpp: In function 'void hl(const std::array<std::pair<char, char>, 5>&)':
0_0_39553147_7231.cpp:139:27: error: range-based 'for' expression of type 'const std::array<std::pair<char, char>, 5>' has incomplete type
139 | for(const auto &s:v)
| ^
0_0_39553147_7231.cpp:146:54: error: aggregate 'std::array<int, 5> r' has incomplete type and cannot be defined
146 | array<int,5> r;
| ^
0_0_39553147_7231.cpp: At global scope:
0_0_39553147_7231.cpp:157:39: error: return type 'struct std::array<int, 5>' is incomplete
157 | array<int,5> sit(const array<pcc,5> &v){
| ^
0_0_39553147_7231.cpp: In function 'void sit(const std::array<std::pair<char, char>, 5>&)':
0_0_39553147_7231.cpp:160:27: error: range-based 'for' expression of type 'const std::array<std::pair<char, char>, 5>' has incomplete type
160 | for(const auto &s:v)
| ^
0_0_39553147_7231.cpp:165:38: error: aggregate 'std::array<int, 5> r' has incomplete type and cannot be defined
165 | array<int,5> r;
| ^
0_0_39553147_7231.cpp: At global scope:
0_0_39553147_7231.cpp:176:39: error: return type 'struct std::array<int, 5>' is incomplete
176 | array<int,5> ths(const array<pcc,5> &v){
| ^
0_0_39553147_7231.cpp: In function 'void ths(const std::array<std::pair<char, char>, 5>&)':
0_0_39553147_7231.cpp:177:24: error: variable 'std::array<int, 5> r' has initializer but incomplete type
177 | array<int,5> r(th(v));
| ^~
0_0_39553147_7231.cpp: At global scope:
0_0_39553147_7231.cpp:182:41: error: return type 'struct std::array<int, 5>' is incomplete
182 | array<int,5> hjths(const array<pcc,5> &v){
| ^
0_0_39553147_7231.cpp: In function 'void hjths(const std::array<std::pair<char, char>, 5>&)':
0_0_39553147_7231.cpp:183:24: error: variable 'std::array<int, 5> r' has initializer but incomplete type
183 | array<int,5> r(ths(v));
| ^~~
0_0_39553147_7231.cpp: At global scope:
0_0_39553147_7231.cpp:189:46: error: class template argument deduction failed:
189 | array a={sp,dz,ld,sant,sz,th,hl,sit,ths,hjths};
| ^
0_0_39553147_7231.cpp:189:46: error: no matching function for call to 'array(void (&)(const std::array<std::pair<char, char>, 5>&), void (&)(const std::array<std::pair<char, char>, 5>&), void (&)(const std::array<std::pair<char, char>, 5>&), voi
|