0_0_24980087_5982.cpp: In function 'int main()': 0_0_24980087_5982.cpp:50:13: error: 'i' was not declared in this scope for(i=1;i<=n;i++){ //因为是环,所以起点可能在一个点, ^