记录详情

Accepted

/in/foo.cc: In function 'Result Match(std::__cxx11::string&)':
/in/foo.cc:16:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < s.length(); i++)
                  ~~^~~~~~~~~~~~
/in/foo.cc:20:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (s[i] == ')')
      ^
/in/foo.cc:15:6: warning: unused variable 'cnt' [-Wunused-variable]
  int cnt = 0;
      ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 328.0 KiB

信息

递交者
类型
自测
语言
C++
递交时间
2024-11-26 22:02:00
评测时间
2024-11-26 22:02:00
评测机
分数
10
总耗时
1ms
峰值内存
328.0 KiB