Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    9 |         for(int i=0;i<s.size();i++)
      |                     ~^~~~~~~~~
foo.cc:36:16: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
   36 |         if(left==0&right==0){
      |            ~~~~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 380.0 KiB
#2 Wrong Answer Standard answer longer than user output. 1ms 256.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Wrong Answer Standard answer longer than user output. 3ms 256.0 KiB
#5 Accepted 2ms 256.0 KiB

信息

递交者
类型
递交
题目
DS2-1 括号的匹配
语言
C++
递交时间
2022-08-26 12:10:10
评测时间
2022-08-26 12:10:10
评测机
分数
60
总耗时
10ms
峰值内存
380.0 KiB