#include <bits/stdc++.h>
using namespace std;
int main()
{
double n;
cin>>n;
cout<<round(n);
}
Đúng 0
Bình luận (0)
#include<bits/stdc++.h>
#define ll long long
#define fi first
#define se second
#define all(a) a.begin(),a.end()
#define ii pair<ll,ll>
#define foru(i,a,b) for(i=a;i<=b;i++)
#define ford(i,a,b) for(i=a;i>=b;i--)
using namespace std;
string s;
int main()
{
cin>>s;
for(int i=0;i<s.size();i++)
{
if(s[i]=='.')
return 0;
else
cout<<s[i];
}
return 0;
}
Đúng 0
Bình luận (0)