记录详情

Runtime Error

foo.cc:8:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4996)
 
foo.cc: In function 'int main()':
foo.cc:20:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int j = 0; j < s.length(); j++)
                   ~~^~~~~~~~~~~~
foo.cc:24:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int k = j; k < s.length(); k++)
                     ~~^~~~~~~~~~~~
foo.cc:60:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int j = 0; j< s.length(); j++)
                   ~^~~~~~~~~~~~
foo.cc:12:7: warning: unused variable 'c' [-Wunused-variable]
  char c[29];
       ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read NO, expect YES. 2ms 384.0 KiB
#2 Accepted 2ms 420.0 KiB
#3 Accepted 1ms 420.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Accepted 1ms 384.0 KiB
#6 Runtime Error Aborted 2ms 384.0 KiB
#7 Runtime Error Aborted 2ms 384.0 KiB
#8 Runtime Error Aborted 2ms 384.0 KiB
#9 Wrong Answer Read NO, expect YES. 1ms 384.0 KiB
#10 Runtime Error Segmentation fault 3ms 384.0 KiB

信息

递交者
类型
递交
题目
P1258 括号匹配
语言
C++
递交时间
2021-10-12 20:32:32
评测时间
2021-10-12 20:32:32
评测机
分数
40
总耗时
21ms
峰值内存
420.0 KiB