Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:17:8: warning: statement has no effect [-Wunused-value] for (i; i < 32; ++i) ^ /in/foo.cc:19:31: error: 'pow' was not declared in this scope result += a[i] * pow(2, i-16); ^ /in/foo.cc:23:33: error: 'pow' was not declared in this scope result += a[i] * pow(2, i + 16); ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1100 高低位交换
- 比赛
- 小兰赛 2019/9/28
- 语言
- C++
- 递交时间
- 2019-09-28 10:06:43
- 评测时间
- 2019-09-28 10:06:43
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes