0_0_34948799_10708.cpp: In function 'int main()': 0_0_34948799_10708.cpp:13:21: error: 'i' was not declared in this scope scanf("%d %d",&s[i][0],&s[i][1]); ^