0_0_13994882_14765.cpp: In function 'void judge(int*)': 0_0_13994882_14765.cpp:26:5: error: 'i' was not declared in this scope for(i=1;i<=n;i++) cout<<a[i]<<' '; ^