题解 | #实现四舍五入#
实现四舍五入
https://www.nowcoder.com/practice/020a0cf673174d5795d97ae79cff59a0
#include <bits/stdc++.h> using namespace std; int main() { double d; cin >> d; // double c; // cin>>c; printf("%.0f\n",round(d)); // write your code here...... return 0; } // 64 位输出请用 printf("%lld")#弄懂round函数的用法#