Problem parallelogramisation
User Tavern
Submission Time 2026-11-20 16:59:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

parallelogramisation.cpp: In function ‘int main()’:
parallelogramisation.cpp:5:8: error: ‘x’ was not declared in this scope
5 | int a[x];
| ^
parallelogramisation.cpp:13:10: error: expected ‘;’ before ‘d’
13 | cin>>w
| ^
| ;
14 | d.push_back(w);
| ~
parallelogramisation.cpp:18:4: error: ‘a’ was not declared in this scope
18 | a[0]=d.front;
| ^
parallelogramisation.cpp:23:29: error: expected ‘)’ before numeric constant
23 | for (int i = 1; i<=z; i++0 {
| ~ ^
| )
parallelogramisation.cpp:23:30: error: expected ‘;’ before ‘{’ token
23 | for (int i = 1; i<=z; i++0 {
| ^~
| ;