Problem eatingparallelograms
User blackpanther
Submission Time 2025-06-20 13:37:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eatingparallelograms.cpp: In function ‘int main()’:
eatingparallelograms.cpp:16:9: error: ‘v’ was not declared in this scope
16 | cin>> v.first[i];
| ^
eatingparallelograms.cpp:17:16: error: ‘i’ was not declared in this scope
17 | }for (int j=0;i<j;j++){
| ^
eatingparallelograms.cpp:18:9: error: ‘v’ was not declared in this scope
18 | cin>> v.second[j];
| ^
eatingparallelograms.cpp:20:9: error: ‘v’ was not declared in this scope
20 | cout<< v.first;
| ^