for(int i=1;i<=n;i++){ cin>>a[i]; if(a[i]==1){ c=i; } } for(int i=1;i<=n;i++){ if(a[i]==1){ b=i; break; } }
为啥这一串c是末尾下标b就是前面的不明白这道题是p9517