记录详情

Runtime Error

foo.cc: In member function 'bool kuo_hao::place()':
foo.cc:29:8: warning: statement has no effect [-Wunused-value]
   29 |   for (i1; a[i1] != '('; i1++);
      |        ^~
foo.cc:30:8: warning: statement has no effect [-Wunused-value]
   30 |   for (i2; a[i2] != ')'; i2++);
      |        ^~
foo.cc:31:8: warning: statement has no effect [-Wunused-value]
   31 |   for (l1; a[l1] != '['; l1++);
      |        ^~
foo.cc:32:8: warning: statement has no effect [-Wunused-value]
   32 |   for (l2; a[l2] != ']'; l2++);
      |        ^~
foo.cc: In function 'int main()':
foo.cc:51:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   51 |  for (int i = 0; i < a.length(); i++)
      |                  ~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Accepted 4ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 4ms 512.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Runtime Error Segmentation fault 2ms 384.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 2ms 384.0 KiB
#9 Accepted 4ms 384.0 KiB
#10 Accepted 4ms 384.0 KiB
#11 Accepted 5ms 384.0 KiB
#12 Accepted 4ms 384.0 KiB
#13 Accepted 3ms 384.0 KiB
#14 Accepted 2ms 384.0 KiB
#15 Accepted 2ms 384.0 KiB
#16 Accepted 5ms 384.0 KiB
#17 Accepted 3ms 384.0 KiB
#18 Accepted 2ms 256.0 KiB
#19 Accepted 3ms 384.0 KiB
#20 Accepted 3ms 384.0 KiB
#21 Accepted 4ms 384.0 KiB
#22 Accepted 2ms 384.0 KiB
#23 Accepted 5ms 384.0 KiB
#24 Accepted 5ms 384.0 KiB
#25 Accepted 4ms 384.0 KiB
#26 Accepted 4ms 384.0 KiB
#27 Accepted 4ms 384.0 KiB
#28 Accepted 4ms 384.0 KiB
#29 Accepted 6ms 384.0 KiB
#30 Accepted 4ms 384.0 KiB
#31 Accepted 4ms 384.0 KiB
#32 Accepted 4ms 384.0 KiB
#33 Accepted 5ms 384.0 KiB
#34 Accepted 4ms 384.0 KiB
#35 Accepted 4ms 384.0 KiB
#36 Runtime Error Segmentation fault 4ms 512.0 KiB
#37 Accepted 3ms 384.0 KiB
#38 Accepted 4ms 384.0 KiB
#39 Accepted 3ms 384.0 KiB
#40 Accepted 3ms 384.0 KiB
#41 Accepted 3ms 384.0 KiB
#42 Accepted 2ms 384.0 KiB
#43 Accepted 4ms 384.0 KiB
#44 Accepted 4ms 384.0 KiB
#45 Accepted 4ms 384.0 KiB
#46 Accepted 4ms 384.0 KiB
#47 Accepted 2ms 384.0 KiB
#48 Runtime Error Segmentation fault 5ms 384.0 KiB
#49 Accepted 4ms 384.0 KiB
#50 Accepted 4ms 384.0 KiB

信息

递交者
类型
递交
题目
P1361 5A 括号序列
比赛
悬赏令第五周
语言
C++
递交时间
2022-04-27 14:26:12
评测时间
2022-04-27 14:26:12
评测机
分数
94
总耗时
200ms
峰值内存
512.0 KiB