记录详情

Accepted

foo.cc: In function 'Iv MUl(const Iv&, int)':
foo.cc:38:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<A.size() || t;i++)
                 ~^~~~~~~~~
foo.cc:40:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(i<A.size())
            ~^~~~~~~~~
foo.cc: In function 'Iv Add(const Iv&, const Iv&)':
foo.cc:51:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<A.size() || i<B.size();i++)
                 ~^~~~~~~~~
foo.cc:51:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<A.size() || i<B.size();i++)
                               ~^~~~~~~~~
foo.cc:54:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(i<A.size()) t+=A[i];
            ~^~~~~~~~~
foo.cc:55:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(i<B.size()) t+=B[i];
            ~^~~~~~~~~
foo.cc: In function 'Iv Mul_vtv(const Iv&, const Iv&)':
foo.cc:65:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(register int i=0;i<B.size();i++)
                          ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 420.0 KiB
#3 Accepted 1ms 464.0 KiB
#4 Accepted 2ms 424.0 KiB
#5 Accepted 2ms 432.0 KiB

信息

递交者
类型
递交
题目
A11-4 高精度整数之间的乘法
比赛
2021(四) 作业第三场:热身赛
语言
C++
递交时间
2021-11-14 18:14:48
评测时间
2021-11-14 18:14:48
评测机
分数
100
总耗时
9ms
峰值内存
464.0 KiB