记录详情

Runtime Error

foo.cc: In function 'int cheng(std::string, std::string)':
foo.cc:7:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    7 |  for(int i=0; i<s1.length(); i++) {
      |               ~^~~~~~~~~~~~
foo.cc:10:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   10 |  for(int i=0; i<s2.length(); i++) {
      |               ~^~~~~~~~~~~~
foo.cc:13:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   13 |  for(int i=0; i<s1.length(); i++) {
      |               ~^~~~~~~~~~~~
foo.cc:15:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   15 |   for(int j=0; j<s2.length(); j++) {
      |                ~^~~~~~~~~~~~
foo.cc:26:1: warning: no return statement in function returning non-void [-Wreturn-type]
   26 | }
      | ^
foo.cc: In function 'int qwe(int, int)':
foo.cc:52:1: warning: control reaches end of non-void function [-Wreturn-type]
   52 | }
      | ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 3ms 384.0 KiB
#2 Runtime Error Segmentation fault 4ms 512.0 KiB
#3 Runtime Error Segmentation fault 5ms 384.0 KiB
#4 Runtime Error Segmentation fault 3ms 512.0 KiB
#5 Runtime Error Segmentation fault 3ms 384.0 KiB

信息

递交者
类型
递交
题目
A11-4 高精度整数之间的乘法
比赛
2022暑期青少年社团(训练赛)
语言
C++
递交时间
2022-08-07 21:59:43
评测时间
2022-08-07 21:59:43
评测机
分数
0
总耗时
20ms
峰值内存
512.0 KiB