Compile Error
/in/foo.cc: In function 'std::__cxx11::string standard(std::__cxx11::string)': /in/foo.cc:7:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (dot == 0 || dot == s.length() - 1) ~~~~^~~~~~~~~~~~~~~~~ /in/foo.cc:9:35: error: 'count' was not declared in this scope if (count(s.begin(), s.end(), '.') > 1) ^ /in/foo.cc:11:35: error: 'count' was not declared in this scope if (count(s.begin(), s.end(), '0') == s.length()) ^
信息
- 递交者
- 类型
- 递交
- 题目
- 合法ip
- 语言
- C++
- 递交时间
- 2018-03-25 20:07:36
- 评测时间
- 2018-03-25 20:07:36
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes