Compile Error

foo.cc: In function ‘int main()’:
foo.cc:7:22: error: ‘a’ was not declared in this scope
    7 |         double b=int(a),c=0.6;
      |                      ^
foo.cc:9:15: error: ‘c’ was not declared in this scope
    9 |         if(d<=c)
      |               ^

信息

递交者
类型
递交
题目
P2662 五舍六入
语言
C++
递交时间
2025-02-12 11:25:30
评测时间
2025-02-12 11:25:30
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes