0_0_26272665_16860.cpp: In function 'int main()': 0_0_26272665_16860.cpp:76:19: error: 'len' was not declared in this scope for (int i=0; i<len; i++) sum[i] = (int)(X1[i].x+0.5); ^