记录详情

Accepted

foo.cc: In function 'void solve()':
foo.cc:17:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<str.length();i++){
              ~^~~~~~~~~~~~~
foo.cc:23:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  else if(posl==str.length()-1||posr==0) cout<<"NO"<<endl;
          ~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 392.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 1ms 384.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 2ms 384.0 KiB
#9 Accepted 2ms 384.0 KiB
#10 Accepted 3ms 384.0 KiB

信息

递交者
类型
递交
题目
P1258 括号匹配
比赛
南京师范大学算法赛队2021年7月集训程序设计竞赛(小兰集训赛)
语言
C++
递交时间
2021-07-16 15:21:59
评测时间
2021-07-16 15:21:59
评测机
分数
100
总耗时
22ms
峰值内存
392.0 KiB