0_0_33123675_27612.cpp: In function 'double prim()': 0_0_33123675_27612.cpp:31:29: error: 'i' was not declared in this scope p = i; mm = dis[i]; ^