Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
72368 李雨昊 向上取整 C++ Compile Error 0 MS 0 KB 189 2024-05-05 11:20:09

Tests(0/0):


Code:

#include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<iomanip> using namespace std; int main() { double n; cin>>a; cout <<ceil(n); return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:12:7: error: 'a' was not declared in this scope
  cin>>a;
       ^