记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:15: 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<str.size();i++)
      |              ~^~~~~~~~~~~
foo.cc:16:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   16 |    if(u=='('&&t!=')'||u=='['&&t!=']')
      |       ~~~~~~^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read N, expect Y. 4ms 384.0 KiB

信息

递交者
类型
自测
题目
P1361 5A 括号序列
语言
C++
递交时间
2022-04-28 17:38:49
评测时间
2022-04-28 17:38:49
评测机
分数
0
总耗时
4ms
峰值内存
384.0 KiB