#include #include #include #include using namespace std; typedef struct { char v[100]; int x, y; }el; el a[10]; int f(el a, el b) { if(a.y>b.y) return 1; if(a.yb.x) return 1; if(a.xk) l=1; if(h==k) l=0; if(h