/ MYOJ /

记录详情

Memory Exceeded

foo.cc: In member function 'void BigNum::init(std::string&, std::string&)':
foo.cc:54:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   54 |         for(int i=0;i<x.size();i++)
      |                     ~^~~~~~~~~
foo.cc:56:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   56 |         for(int i=0;i<y.size();i++)
      |                     ~^~~~~~~~~
foo.cc: In member function 'std::vector<int> BigNum::Add()':
foo.cc:70:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   70 |         for(int i=0; i<a.size(); i++)
      |                      ~^~~~~~~~~
foo.cc: In member function 'std::vector<int> BigNum::Sub()':
foo.cc:89:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   89 |         for(int i=0; i<a.size(); i++)
      |                      ~^~~~~~~~~
foo.cc: In member function 'std::vector<int> BigNum::Div()':
foo.cc:131:5: warning: no return statement in function returning non-void [-Wreturn-type]
  131 |     }
      |     ^
foo.cc: In member function 'std::vector<int> BigNum::Mod()':
foo.cc:136:5: warning: no return statement in function returning non-void [-Wreturn-type]
  136 |     }
      |     ^
foo.cc: In member function 'void BigNum::Print(std::vector<int>&)':
foo.cc:139:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  139 |         for(int i=0; i<ve.size(); i++)
      |                      ~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Memory Exceeded ≥12ms ≥24.0 KiB
#2 Memory Exceeded ≥9ms ≥24.0 KiB
#3 Memory Exceeded ≥12ms ≥24.0 KiB
#4 Memory Exceeded ≥7ms ≥24.0 KiB
#5 Memory Exceeded ≥15ms ≥24.0 KiB
#6 Memory Exceeded ≥12ms ≥24.0 KiB
#7 Memory Exceeded ≥13ms ≥24.0 KiB
#8 Memory Exceeded ≥12ms ≥24.0 KiB
#9 Memory Exceeded ≥7ms ≥24.0 KiB
#10 Memory Exceeded ≥13ms ≥24.0 KiB

信息

递交者
类型
递交
题目
P1021 [7FOJ]高精度减法
语言
C++
递交时间
2022-05-10 23:51:49
评测时间
2022-05-10 23:51:49
评测机
分数
0
总耗时
≥116ms
峰值内存
≥24.0 KiB