记录详情

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;
      |                ^~~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 3ms 320.0 KiB
#2 Wrong Answer Standard answer longer than user output. 2ms 536.0 KiB
#3 Wrong Answer Standard answer longer than user output. 2ms 536.0 KiB
#4 Wrong Answer Standard answer longer than user output. 2ms 536.0 KiB
#5 Wrong Answer Standard answer longer than user output. 2ms 536.0 KiB
#6 Wrong Answer Standard answer longer than user output. 2ms 320.0 KiB
#7 Wrong Answer Standard answer longer than user output. 2ms 536.0 KiB
#8 Wrong Answer Standard answer longer than user output. 2ms 612.0 KiB
#9 Wrong Answer Standard answer longer than user output. 2ms 352.0 KiB
#10 Wrong Answer Standard answer longer than user output. 2ms 320.0 KiB

信息

递交者
类型
递交
题目
回文判断
语言
C++
递交时间
2024-05-06 16:27:33
评测时间
2024-05-06 16:27:33
评测机
分数
0
总耗时
26ms
峰值内存
612.0 KiB