15分求助!!!
查看原帖
15分求助!!!
965313
youth191954楼主2024/4/29 12:43
#include<cstdio>
#include<iostream>
using namespace std;
const int mx=1e5+5;
int n,w;
int a[mx],b[605],cnt;
int main(){
	cin>>n>>w;
	w=w%100;
	for(int i=1;i<=n;i++)cin>>a[i];
	for(int i=1;i<=n;i++){
		//int k=max(1,floor(w*a[i]));
		cout<<a[i]<<" ";
	}
	return 0;
}
2024/4/29 12:43
加载中...