Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:9:50: warning: comparison with string literal results in unspecified behaviour [-Waddress] if(s.substr(5,2)=="25"&&s.length()==13&&s[12]=="*") ^ /in/foo.cc:9:50: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
信息
- 递交者
- 类型
- 递交
- 语言
- C++
- 递交时间
- 2023-04-02 19:26:39
- 评测时间
- 2023-04-02 19:26:39
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes