#include<bits/stdc++.h>
#define endl '\n'
using namespace std;
using ll = long long;
void GordenGhost();
signed main(){
// ios::sync_with_stdio(0);
// cin.tie(0),cout.tie(0);
GordenGhost();
return 0;
}
void GordenGhost(){
ll n,m;
cin>>n>>m;
for (int i=0;i<n;i++){
double as;
scanf("%lf",&as);
if (as<m){
printf("On Sale! %.1lf\n",as);
}
}
}
降价提醒机器人(团体程序设计天梯赛-练习集L1-076)
最新推荐文章于 2024-07-25 00:29:30 发布