0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-27 09:32:00 +00:00
OI-codes/Luogu/B2016/B2016.cpp

11 lines
183 B
C++
Raw Normal View History

2021-07-16 03:16:13 +00:00
#include <bits/stdc++.h>
using namespace std;
int main() {
double x;
cin >> x;
cout << fixed << setprecision(0) << (x < 0 ? ceil(x) : floor(x)) << endl;
return 0;
}