记录详情

Accepted

foo.cc: In function 'Iv MUl(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];
            ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 416.0 KiB
#2 Accepted 2ms 412.0 KiB
#3 Accepted 1ms 464.0 KiB
#4 Accepted 1ms 420.0 KiB
#5 Accepted 1ms 436.0 KiB

信息

递交者
类型
递交
比赛
2021(四) 作业第三场:热身赛
语言
C++
递交时间
2021-11-14 16:41:34
评测时间
2021-11-14 16:41:34
评测机
分数
100
总耗时
9ms
峰值内存
464.0 KiB