/ Vijos /

记录详情

Accepted

/in/foo.cc: In member function 'bignum bignum::operator*(const bignum&)':
/in/foo.cc:31:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int s = 0; s <= d1 + d2 - 2; s++){
                        ~~^~~~~~~~~~~~~~
/in/foo.cc:33:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for(int k = 0; k <= d1 - 1; k++){
                            ~~^~~~~~~~~
/in/foo.cc:34:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if(s - k >= 0 && s - k <= d2 - 1) ret.a[s] += a[k] * b.a[s - k];
                                  ~~~~~~^~~~~~~~~
/in/foo.cc:38:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int i = 0; i < d1 + d2 - 2; i++){
                        ~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 188.0 KiB
#2 Accepted 1ms 204.0 KiB
#3 Accepted 1ms 316.0 KiB
#4 Accepted 21ms 444.0 KiB

信息

递交者
类型
递交
题目
P1040 高精度乘法
语言
C++
递交时间
2018-11-15 16:34:22
评测时间
2018-11-15 16:34:22
评测机
分数
100
总耗时
26ms
峰值内存
444.0 KiB