记录详情

Wrong Answer

/in/foo.cc: In function 'std::__cxx11::string solve()':
/in/foo.cc:38:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if (jm2(s) == s2 && jm3(s) == s3 || jm2(s) == s3 && jm3(s) == s2) return s;
       ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/in/foo.cc:40:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if (jm2(s) == s1 && jm3(s) == s3 || jm2(s) == s3 && jm3(s) == s1) return s;
       ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/in/foo.cc:42:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if (jm2(s) == s1 && jm3(s) == s2 || jm2(s) == s2 && jm3(s) == s1) return s;
       ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/in/foo.cc:44:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 2ms 216.0 KiB
#2 Wrong Answer 1ms 232.0 KiB
#3 Wrong Answer 2ms 216.0 KiB
#4 Wrong Answer 2ms 228.0 KiB
#5 Wrong Answer 1ms 216.0 KiB
#6 Accepted 1ms 228.0 KiB
#7 Wrong Answer 2ms 348.0 KiB
#8 Accepted 3ms 356.0 KiB
#9 Accepted 2ms 348.0 KiB
#10 Accepted 2ms 356.0 KiB

信息

递交者
类型
递交
题目
P1157 字符串还原
语言
C++
递交时间
2020-07-22 16:34:02
评测时间
2020-07-22 16:34:02
评测机
分数
50
总耗时
23ms
峰值内存
356.0 KiB