/ OPS /

记录详情

Runtime Error

/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 4ms 348.0 KiB
#2 Runtime Error 4ms 388.0 KiB
#3 Runtime Error 4ms 376.0 KiB
#4 Runtime Error 4ms 392.0 KiB
#5 Runtime Error 4ms 392.0 KiB
#6 Runtime Error 3ms 340.0 KiB
#7 Runtime Error 5ms 608.0 KiB
#8 Runtime Error 5ms 648.0 KiB
#9 Runtime Error 5ms 604.0 KiB
#10 Runtime Error 5ms 548.0 KiB

信息

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