Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
7676 zhaoziwen 浮点数向零舍入 C++ 编译错误 0 MS 0 KB 222 2023-02-06 14:06:58

Tests(0/0):


#include<iostream> #include<iomanip> using namespace std; int main () { int n; double a=sprt(n); cin>>a; if(a>0){ cout<<floor(a); } else if(a<0){ cout<<ceil(a); } }


测评信息: