jnxx_gufangyuan @ 2024-08-24 12:51:16
#include<bits/stdc++.h>
#include<cmath>
using namespace std;
char a;
int b;
double c,d;
int main(){
cin>>d;
if(d>=0) cout<<(int)d;
else cout<<ceil(d);
return 0;
}
by _liujunming_ @ 2024-08-26 16:35:35
@jnxx_gufangyuan
代码:
#include<bits/stdc++.h>
using namespace std;
int main()
{
double a;
cin>>a;
cout<<(long long)(a);
return 0;
}
求关(你的名字太难打了)
by wzccwzcc @ 2024-09-17 12:25:16
@jnxx_gufangyuan 这样写最简单
#include<bits/stdc++.h>
using namespace std;
int main(){
long long n;
cin >> n;
cout << n;
return 0;
}
求关
by 2023iostream @ 2024-09-22 08:19:48
#include <iostream>
int main(){
long long n;
std::cin >> n;
std::cout << n;
}