Runtime Error

foo.cc: In function 'int main()':
foo.cc:33:26: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   33 |         for(int i=0,j=0;i<x.size();i++)
      |                         ~^~~~~~~~~
foo.cc:58:66: warning: narrowing conversion of 'sz.std::vector<st>::size()' from 'std::vector<st>::size_type' {aka 'long unsigned int'} to 'long long int' [-Wnarrowing]
   58 |                         sz.push_back((st){-1,-1,-1,b[++j],sz.size(),'?'});
      |                                                           ~~~~~~~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 539ms 6.004 MiB
#2 Wrong Answer 2a3 > 0 15a17 > 0 17a20 > 0 23 5ms 412.0 KiB
#3 Accepted 87ms 6.008 MiB
#4 Accepted 454ms 6.035 MiB
#5 Accepted 984ms 6.008 MiB
#6 Wrong Answer Read 1, expect 0. 4ms 412.0 KiB
#7 Wrong Answer Read 0, expect 0. 4ms 412.0 KiB
#8 Wrong Answer Read 0, expect 1. 6ms 456.0 KiB
#9 Wrong Answer Read 1, expect 0. 4ms 412.0 KiB
#10 Wrong Answer Read 0, expect 1. 4ms 412.0 KiB
#11 Runtime Error Segmentation fault 44ms 6.031 MiB
#12 Runtime Error Segmentation fault 298ms 47.625 MiB
#13 Runtime Error Segmentation fault 46ms 6.066 MiB
#14 Runtime Error Segmentation fault 43ms 5.945 MiB
#15 Runtime Error Segmentation fault 47ms 6.098 MiB
#16 Runtime Error Segmentation fault 198ms 25.473 MiB
#17 Runtime Error Segmentation fault 285ms 46.43 MiB
#18 Runtime Error Segmentation fault 205ms 25.527 MiB
#19 Runtime Error Segmentation fault 256ms 46.516 MiB
#20 Runtime Error Segmentation fault 195ms 25.57 MiB

信息

递交者
类型
递交
题目
P2237 表达式
比赛
2023CSP模拟赛4
语言
C++
递交时间
2023-10-14 11:40:38
评测时间
2023-10-14 15:20:41
评测机
分数
20
总耗时
3719ms
峰值内存
47.625 MiB