???90分求助
查看原帖
???90分求助
1329906
wenxuliang楼主2024/5/18 11:28
#include<bits/stdc++.h>
using namespace std;
long long i,j,a,b,c,d;
double n;
int main(){
	cin>>n;
	if(n<0)printf("%.0lf",floor(n)+1);
	else printf("%.0lf",floor(n));
	return 0;
}
2024/5/18 11:28
加载中...