Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
148499 王润中 11向上取整 C++ Wrong Answer 1 MS 276 KB 203 2026-02-23 13:35:04

Tests(0/10):


Code:

#include<iostream> using namespace std; int main() { double a; int b=int(a); cin>>a; if(b=a) { cout<<a; } else { cout<<int(a)+1+0.0; } }


Run Info:

------Input------
414.6
------Answer-----
415
------Your output-----
414.6