1301731qwe @ 2024-06-08 12:38:59
by 1301731qwe @ 2024-06-08 12:40:10
#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
if(n>0){
cout<<n/1;
}else{
cout<<n/1+1;
}
return 0;
}
by 1301731qwe @ 2024-06-08 12:41:24
在线等 急!
by renzhanwen @ 2024-06-08 12:56:00
@1301731qwe
#include<bits/stdc++.h>
using namespace std;
long long n;
int main()
{
cin>>n;
cout<<n;
return 0;
}
by zhaoqiyou @ 2024-06-08 12:58:07
@1301731qwe n已经是整型了
by lpsz2024wcs @ 2024-06-08 13:05:15
@1301731qwe
不用判定,可以直接输出
而且数据范围
by 1301731qwe @ 2024-06-10 15:10:24
@syex_renzhanwen 已AC 谢谢