wiring.cpp:20:40: error: '__int32' was not declared in this scope; did you mean '__rintf32'?
20 | long long min_total_length(std::vector<__int32> r, std::vector<__int32> b){
| ^~~~~~~
| __rintf32
wiring.cpp:20:47: error: template argument 1 is invalid
20 | long long min_total_length(std::vector<__int32> r, std::vector<__int32> b){
| ^
wiring.cpp:20:47: error: template argument 2 is invalid
wiring.cpp:20:64: error: '__int32' was not declared in this scope; did you mean '__rintf32'?
20 | long long min_total_length(std::vector<__int32> r, std::vector<__int32> b){
| ^~~~~~~
| __rintf32
wiring.cpp:20:71: error: template argument 1 is invalid
20 | long long min_total_length(std::vector<__int32> r, std::vector<__int32> b){
| ^
wiring.cpp:20:71: error: template argument 2 is invalid
wiring.cpp: In function 'long long int min_total_length(int, int)':
wiring.cpp:23:13: error: 'begin' was not declared in this scope
23 | for (int x:r)v.pb({x,-1});
| ^
wiring.cpp:23:13: note: suggested alternatives:
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:95,
from wiring.cpp:1:
/usr/include/c++/10/valarray:1224:5: note: 'std::begin'
1224 | begin(const valarray<_Tp>& __va)
| ^~~~~
In file included from /usr/include/c++/10/filesystem:46,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:129,
from wiring.cpp:1:
/usr/include/c++/10/bits/fs_dir.h:549:3: note: 'std::filesystem::__cxx11::begin'
549 | begin(recursive_directory_iterator __iter) noexcept
| ^~~~~
wiring.cpp:23:13: error: 'end' was not declared in this scope
23 | for (int x:r)v.pb({x,-1});
| ^
wiring.cpp:23:13: note: suggested alternatives:
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:95,
from wiring.cpp:1:
/usr/include/c++/10/valarray:1244:5: note: 'std::end'
1244 | end(const valarray<_Tp>& __va)
| ^~~
In file included from /usr/include/c++/10/filesystem:46,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:129,
from wiring.cpp:1:
/usr/include/c++/10/bits/fs_dir.h:554:3: note: 'std::filesystem::__cxx11::end'
554 | end(recursive_directory_iterator) noexcept
| ^~~
wiring.cpp:24:13: error: 'begin' was not declared in this scope
24 | for (int x:b)v.pb({x,1});
| ^
wiring.cpp:24:13: note: suggested alternatives:
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:95,
from wiring.cpp:1:
/usr/include/c++/10/valarray:1224:5: note: 'std::begin'
1224 | begin(const valarray<_Tp>& __va)
| ^~~~~
In file included from /usr/include/c++/10/filesystem:46,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:129,
from wiring.cpp:1:
/usr/include/c++/10/bits/fs_dir.h:549:3: note: 'std::filesystem::__cxx11::begin'
549 | begin(recursive_directory_iterator __iter) noexcept
| ^~~~~
wiring.cpp:24:13: error: 'end' was not declared in this scope
24 | for (int x:b)v.pb({x,1});
| ^
wiring.cpp:24:13: note: suggested alternatives:
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:95,
from wiring.cpp:1:
/usr/include/c++/10/valarray:1244:5: note: 'std::end'
1244 | end(const valarray<_Tp>& __va)
| ^~~
In file included from /usr/include/c++/10/filesystem:46,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:129,
from wiring.cpp:1:
/usr/include/c++/10/bits/fs_dir.h:554:3: note: 'std::filesystem::__cxx11::end'
554 | end(recursive_directory_iterator) noexcept
| ^~~