记录详情

Accepted

foo.cc: In function 'Iv MUl(const Iv&, int, int)':
foo.cc:39:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<A.size() || t;i++)
                 ~^~~~~~~~~
foo.cc:41: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:52:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<A.size() || i<B.size();i++)
                 ~^~~~~~~~~
foo.cc:52:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<A.size() || i<B.size();i++)
                               ~^~~~~~~~~
foo.cc:55:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(i<A.size()) t+=A[i];
            ~^~~~~~~~~
foo.cc:56:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(i<B.size()) t+=B[i];
            ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 412.0 KiB
#2 Accepted 1ms 416.0 KiB
#3 Accepted 1ms 460.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB

信息

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