0_0_24068952_1081.cpp: In function 'int main()': 0_0_24068952_1081.cpp:58:58: error: 'mi' was not declared in this scope for (int i=1;i<=n;i++) printf("%d %d\n",i,dis[i]-mi); ^