Problem area_noi
User RAyhahh
Submission Time 2024-07-22 17:30:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

area_noi.cpp: In function ‘int main()’:
area_noi.cpp:13:11: error: ‘class std::vector<int>’ has no member named ‘pushback’; did you mean ‘push_back’?
13 | T.pushback(A*C)
| ^~~~~~~~
| push_back
area_noi.cpp:16:15: error: no match for ‘operator+’ (operand types are ‘std::vector<int>’ and ‘int’)
16 | sort(T, T + n);
| ~ ^ ~
| | |
| | int
| std::vector<int>
In file included from /usr/include/c++/9/bits/stl_algobase.h:67,
from /usr/include/c++/9/bits/char_traits.h:39,
from /usr/include/c++/9/ios:40,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from area_noi.cpp:1:
/usr/include/c++/9/bits/stl_iterator.h:423:5: note: candidate: ‘template<class _Iterator> constexpr std::reverse_iterat