Compile Error
/in/foo.cc: In function 'int judge(double, double)':
/in/foo.cc:9:19: error: 'floor' was not declared in this scope
if (a1 - floor(a1) < 0.00000001)
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:20:33: error: 'sqrt' was not declared in this scope
for (int k = 1; k < (sqrt(1+8*M)-3)/2; k++) {
^
信息
- 递交者
- 类型
- 递交
- 题目
- P1302 连续自然数和
- 语言
- C++
- 递交时间
- 2024-01-11 17:27:00
- 评测时间
- 2024-01-11 17:27:00
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes