Wrong Answer
foo.cc: In function ‘int main()’: foo.cc:21:26: warning: ‘((__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type*)((char*)&str + offsetof(std::__cxx11::string, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::<unnamed>)))[1]’ is used uninitialized [-Wuninitialized] 21 | if(str[i]!=str[len-i+1]) foo.cc:16:16: note: ‘str’ declared here 16 | string str; | ^~~
正在同步测试数据,请稍后
信息
- 递交者
- 类型
- 递交
- 题目
- 回文判断
- 语言
- C++
- 递交时间
- 2024-05-06 16:27:33
- 评测时间
- 2024-05-06 16:27:33
- 评测机
- 分数
- 0
- 总耗时
- 26ms
- 峰值内存
- 612.0 KiB