不能输入大佬看看
查看原帖
不能输入大佬看看
1387558
jinziyang5735楼主2024/8/24 16:49
#include<bits/stdc++.h> 
using namespace std;
int main()
{
	std::ios::sync_with_stdio(0);
	cin.tie(0);
	cout.tie(0);
	int n,m,k[1000000];
	cin>>n>>m;
	for(int i=1;i<=m;i++){
		cin>>k[i];
		if(k[i]%2!=1){
			cout<<k[i]<<endl;
		}
	}
	return 0;
}
2024/8/24 16:49
加载中...