ltrominoes.cpp: In function 'int main()':
ltrominoes.cpp:36:11: error: redeclaration of 'int H'
36 | int W,H,H;
| ^
ltrominoes.cpp:36:9: note: 'int H' previously declared here
36 | int W,H,H;
| ^
ltrominoes.cpp:37:20: error: 'K' was not declared in this scope
37 | cin >> W >> H >> K;
| ^
ltrominoes.cpp:39:43: error: no match for 'operator=' (operand types are 'std::vector<bool>' and 'int')
39 | F(8192*8192) g[i/8192][i%8192] = rand()&1;
| ^
In file included from /usr/include/c++/10/vector:68,
from /usr/include/c++/10/functional:62,
from /usr/include/c++/10/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/10/algorithm:74,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from /usr/include/x86_64-linux-gnu/c++/10/bits/extc++.h:32,
from ltrominoes.cpp:1:
/usr/include/c++/10/bits/stl_bvector.h:740:7: note: candidate: 'std::vector<bool, _Alloc>& std::vector<bool, _Alloc>::operator=(const std::vector<bool, _Alloc>&) [with _Alloc = std::allocator<bool>]'
740 | operator=(const vector& __x)
| ^~~~~~~~
/usr/include/c++/10/bits/stl_bvector.h:740:31: note: no known conversion for argument 1 from 'int' to 'const std::vector<bool>&'
740 | operator=(const vector& __x)
| ~~~~~~~~~~~~~~^~~
/usr/include/c++/10/bits/stl_bvector.h:771:7: note: candidate: 'std::vector<bool, _Alloc>& std::vector<bool, _Alloc>::operator=(std::vector<bool, _Alloc>&&) [with _Alloc = std::allocator<bool>]'
771 | operator=(vector&& __x) noexcept(_Bit_alloc_traits::_S_nothrow_move())
| ^~~~~~~~
/usr/include/c++/10/bits/stl_bvector.h:771:26: note: no known conversion for argument 1 from 'int' to 'std::vector<bool>&&'
771 | operator=(vector&& __x) noexcept(_Bit_alloc_traits::_S_nothrow_move())
| ~~~~~~~~~^~~
/usr/include/c++/10/bits/stl_bvector.h:796:7: note: candidate: 'std::vector<bool, _Alloc>& std::vector<bool, _Alloc>::operator=(std::initializer_list<bool>) [with _Alloc = std::allocator<bool>]'
796 | operator=(initializer_list<bool> __l)
| ^~~~~~~~
/usr/include/c++/10/bits/stl_bvector.h:796:40: note: no known conversion for argument 1 from 'int' to 'std::initializer_list<bool>'
796 | operator=(initializer_list<bool> __l)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~