Problem parallelogramisation
User Randomguy
Submission Time 2025-12-24 15:08:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

parallelogramisation.cpp: In function ‘int main()’:
parallelogramisation.cpp:10:14: error: invalid use of member function ‘std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
10 | if ((int)s.size == 1){
| ~~^~~~
| ()
parallelogramisation.cpp:22:19: error: expected ‘;’ before ‘}’ token
22 | e.push_back(x)
| ^
| ;
23 | }
| ~