记录详情

Runtime Error

foo.cc: In function 'int Val(std::string)':
foo.cc:8:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    8 |  for (int i = 0; i < s.length(); i++)
      |                  ~~^~~~~~~~~~~~
foo.cc:14:8: warning: unused variable 'opd2' [-Wunused-variable]
   14 |    int opd2 = OPD.top(); OPD.pop();
      |        ^~~~
foo.cc:15:8: warning: unused variable 'opd1' [-Wunused-variable]
   15 |    int opd1 = OPD.top(); OPD.pop();
      |        ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 2ms 384.0 KiB

信息

递交者
类型
自测
语言
C++
递交时间
2022-01-03 17:43:04
评测时间
2022-01-03 17:43:04
评测机
分数
0
总耗时
2ms
峰值内存
384.0 KiB