/ OPS /

记录详情

Wrong Answer

/in/foo.cc: In function 'bool compare(int, std::string, std::string, std::string)':
/in/foo.cc:34:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   34 |  if (a == add && b == sub || a == sub && b == add)
      |      ~~~~~~~~~^~~~~~~~~~~
/in/foo.cc: In function 'bool circulate(bool, std::string, std::string, std::string)':
/in/foo.cc:41:14: warning: control reaches end of non-void function [-Wreturn-type]
   41 |  string temp=a1;
      |              ^~
# 状态 耗时 内存占用
#1 Accepted 3ms 340.0 KiB
#2 Wrong Answer 3ms 452.0 KiB
#3 Accepted 3ms 388.0 KiB
#4 Wrong Answer 3ms 400.0 KiB
#5 Accepted 3ms 348.0 KiB
#6 Accepted 3ms 360.0 KiB
#7 Wrong Answer 5ms 524.0 KiB
#8 Accepted 4ms 476.0 KiB
#9 Accepted 5ms 504.0 KiB
#10 Accepted 5ms 456.0 KiB

信息

递交者
类型
递交
题目
P3466 字符串还原
语言
C++
递交时间
2024-11-13 22:11:39
评测时间
2024-11-13 22:11:39
评测机
分数
70
总耗时
42ms
峰值内存
524.0 KiB