d
2025-09-16 19:37:15
发布于:广东
0阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main(){
string a;
double b;
cin>>a;
cin>>b;
if(a=="ceil"){
cout<<ceil(b);
}else if(a=="floor"){
cout<<floor(b);
}else if(a=="round"){
cout<<round(b);
}
return 0;
}
```cpp
***~~
```cpp
加粗文本
~~***
这里空空如也
有帮助,赞一个