mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-26 16:12:11 +00:00
11 lines
183 B
C++
11 lines
183 B
C++
|
#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;
|
||
|
}
|