0_0_39591876_8563.cpp: In function 'int main()': 0_0_39591876_8563.cpp:14:69: error: expected ';' before 'sort' 14 | for (int i=1;i<=n;i++) scanf("%d%d",&a[i].w,&a[i].h) | ^ | ; 15 | sort(a+1,a+n+1,cmp); | ~~~~