记录详情

Runtime Error

foo.cc:14:16: warning: multi-character character constant [-Wmultichar]
   14 |  if(c=='+'||c==' -'||c=='*'||c=='/')return true;
      |                ^~~~
foo.cc: In function 'void Match(std::string&)':
foo.cc:25:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   25 |  for(int i=0; i<s.length(); i++)
      |               ~^~~~~~~~~~~
foo.cc: In function 'bool fuhao(char)':
foo.cc:21:1: warning: control reaches end of non-void function [-Wreturn-type]
   21 | }
      | ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 3ms 384.0 KiB
#2 Runtime Error Segmentation fault 3ms 384.0 KiB
#3 Runtime Error Segmentation fault 3ms 384.0 KiB
#4 Runtime Error Segmentation fault 4ms 384.0 KiB
#5 Runtime Error Segmentation fault 5ms 512.0 KiB

信息

递交者
类型
递交
题目
P1054 OO11-6 括号的深度
比赛
2022春 面向对象程序设计方法的上机作业
语言
C++
递交时间
2022-05-16 21:10:41
评测时间
2022-05-16 21:10:41
评测机
分数
0
总耗时
19ms
峰值内存
512.0 KiB