Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:18:21: error: 'pow' was not declared in this scope healed += pow(2, i); ^ /in/foo.cc:36:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < medicine.size(); i++) { ~~^~~~~~~~~~~~~~~~~ /in/foo.cc:37:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if ((state | medicine[i]) != state) ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1026 毒药?解药?
- 语言
- C++
- 递交时间
- 2020-06-09 13:11:48
- 评测时间
- 2020-06-09 13:11:48
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes