Problem parallelogramisation
User Randomguy
Submission Time 2025-12-24 15:09:03
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:23:19: error: expected ‘;’ before ‘}’ token
23 | e.push_back(x)
| ^
| ;
24 | }
| ~
parallelogramisation.cpp:30:1: error: expected ‘}’ at end of input
30 | }
| ^
parallelogramisation.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^