AC

robin88  •  3个月前


include

using namespace std; / run this program using the console pauser or add your own getch, system("pause") or input loop /

int main(int argc, char** argv) {

int n=0,dele=0;
cin>>n;
int a[n]={0};
for(int i=0;i<n;i++){
	cin>>a[i];
}
cin>>dele;
for(int i=0;i<n;i++){
	if(i==(dele-1)){
		continue;
	}
	cout<<a[i]<<" ";
}
return 0;

}


评论:

QWERTYUIOPLKJHGFDSAZXCVBN 
ABCDEFGHIJKLMNOPQRSTUVWXY 
DSLIEWO

Failed


MSRTZCJKPFLQYVAWBINXUEDGHOOILSMIJFRCOPPQCEUNYDUMPP
YIZSDWAHLNOVFUCERKJXQMGTBPPKOIYKANZWPLLVWMQJFGQYLL
FLSO 

NOIP

Gooooogle  •  3个月前

请先登录,才能进行评论