我原来的代码现在看不懂了,求解
查看原帖
我原来的代码现在看不懂了,求解
1340578
piyuhan666楼主2025/1/13 18:33
#include<bits/stdc++.h>
using namespace std;
int n=1;
string a[105],s;
int main () {
	while(cin>>s){
		a[n++]=s;
	}
	n--;
	for(int i=1;i<n-1;i++){
		cout<<a[i]<<" ";
	}
	return 0;
}
服了
2025/1/13 18:33
加载中...