coreputer.cpp: In function 'std::vector<int> malfunctioning_cores(int)':
coreputer.cpp:10:17: error: 'n' was not declared in this scope
10 | for(int i=0;i<n&&t==-1;i++){
| ^
coreputer.cpp:20:13: error: invalid use of non-static member function 'void std::vector<_Tp, _Alloc>::pop_back() [with _Tp = int; _Alloc = std::allocator<int>]'
20 | v.pop_back;
| ~~^~~~~~~~
In file included from /usr/include/c++/11/vector:67,
from coreputer.cpp:2:
/usr/include/c++/11/bits/stl_vector.h:1225:7: note: declared here
1225 | pop_back() _GLIBCXX_NOEXCEPT
| ^~~~~~~~
coreputer.cpp:27:14: error: invalid use of non-static member function 'void std::vector<_Tp, _Alloc>::pop_back() [with _Tp = int; _Alloc = std::allocator<int>]'
27 | v2.pop_back;
| ~~~^~~~~~~~
In file included from /usr/include/c++/11/vector:67,
from coreputer.cpp:2:
/usr/include/c++/11/bits/stl_vector.h:1225:7: note: declared here
1225 | pop_back() _GLIBCXX_NOEXCEPT
| ^~~~~~~~