/ Vijos /

记录详情

Accepted

foo.cc: In member function 'BigInteger BigInteger::operator+(const BigInteger&) const':
foo.cc:50:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = dif; i < big.size(); ++i) res.push_back(big[i] + small[i - dif]);
                           ~~^~~~~~~~~~~~
foo.cc: In member function 'bool BigInteger::operator<=(const BigInteger&) const':
foo.cc:102:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int i = 0; i < num.size(); ++i)
                             ~~^~~~~~~~~~~~
foo.cc: In member function 'bool BigInteger::operator==(BigInteger&)':
foo.cc:127:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         else for (int i = 0; i < num.size(); ++i)
                              ~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 400.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 3ms 384.0 KiB
#6 Accepted 5ms 468.0 KiB
#7 Accepted 6ms 456.0 KiB
#8 Accepted 8ms 484.0 KiB

信息

递交者
类型
递交
题目
P1375 大整数
语言
C++
递交时间
2021-08-24 18:06:19
评测时间
2021-08-24 18:06:19
评测机
分数
100
总耗时
33ms
峰值内存
484.0 KiB