Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:18:24: error: 'pow' was not declared in this scope 18 | a1 += (s[i] - 48) * pow(10,x); | ^~~ /in/foo.cc:25:24: error: 'pow' was not declared in this scope 25 | a2 += (s[i] - 48) * pow(10, x); | ^~~ /in/foo.cc:32:24: error: 'pow' was not declared in this scope 32 | a3 += (s[i] - 48) * pow(10, x); | ^~~ /in/foo.cc:39:24: error: 'pow' was not declared in this scope 39 | a4 += (s[i] - 48) * pow(10, x); | ^~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1053 计算矩形面积
- 语言
- C++
- 递交时间
- 2024-12-20 00:52:18
- 评测时间
- 2024-12-20 00:52:18
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes