/ OPS /

记录详情

Accepted

/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:16: warning: control reaches end of non-void function [-Wreturn-type]
   41 |  string temp = a1;
      |                ^~
# 状态 耗时 内存占用
#1 Accepted 3ms 348.0 KiB
#2 Accepted 3ms 352.0 KiB
#3 Accepted 3ms 392.0 KiB
#4 Accepted 3ms 348.0 KiB
#5 Accepted 2ms 504.0 KiB
#6 Accepted 2ms 348.0 KiB
#7 Accepted 5ms 436.0 KiB
#8 Accepted 5ms 504.0 KiB
#9 Accepted 5ms 504.0 KiB
#10 Accepted 5ms 532.0 KiB

信息

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