Accepted

foo.cc: In member function 'void gjd::Add(std::vector<int>&)':
foo.cc:42:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   42 |         while(i<v.size()&&i<v2.size())
      |               ~^~~~~~~~~
foo.cc:42:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   42 |         while(i<v.size()&&i<v2.size())
      |                           ~^~~~~~~~~~
foo.cc:49:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   49 |         while(i<v.size())
      |               ~^~~~~~~~~
foo.cc:56:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   56 |         while(i<v2.size())
      |               ~^~~~~~~~~~
foo.cc: In member function 'void gjd::Mul(int)':
foo.cc:72:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   72 |         while(i<v.size())
      |               ~^~~~~~~~~
foo.cc: In function 'void mul(gjd&, gjd&, gjd&)':
foo.cc:96:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   96 |     for(int i=0;i<aa.v.size();i++)
      |                 ~^~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 9ms 384.0 KiB
#4 Accepted 36ms 384.0 KiB
#5 Accepted 101ms 384.0 KiB

信息

递交者
类型
递交
题目
P1074 A11-4 高精度整数之间的乘法
语言
C++
递交时间
2022-08-01 18:12:10
评测时间
2022-08-01 18:12:10
评测机
分数
100
总耗时
151ms
峰值内存
384.0 KiB