0_0_23496026_26105.cpp: In function 'int main()': 0_0_23496026_26105.cpp:49:25: error: 'i' was not declared in this scope scanf("%lld %lld",&A[i].x,&A[i].y); ^