记录详情

Accepted

/in/foo.cc: In member function 'BigNum BigNum::operator+(const BigNum&) const':
/in/foo.cc:51:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(g == 0 && i >= a.size() && i >= b.a.size()) break;
                 ~~^~~~~~~~~~~
/in/foo.cc:51:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(g == 0 && i >= a.size() && i >= b.a.size()) break;
                                  ~~^~~~~~~~~~~~~
/in/foo.cc:53:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(i < a.size()) x += a[i];
       ~~^~~~~~~~~~
/in/foo.cc:54:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(i < b.a.size()) x += b.a[i];
       ~~^~~~~~~~~~~~
/in/foo.cc: In member function 'BigNum BigNum::operator-(const BigNum&) const':
/in/foo.cc:67:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(i >= A.a.size() && i >= B.a.size()) break;
       ~~^~~~~~~~~~~~~
/in/foo.cc:67:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(i >= A.a.size() && i >= B.a.size()) break;
                          ~~^~~~~~~~~~~~~
/in/foo.cc:68:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(i >= B.a.size()) C.a[i] = A.a[i];
       ~~^~~~~~~~~~~~~
/in/foo.cc:72:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(i >= C.a.size()) break;
       ~~^~~~~~~~~~~~~
/in/foo.cc: In member function 'BigNum BigNum::operator*(const BigNum&) const':
/in/foo.cc:84:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i = 0; i < a.size(); i++){
                  ~~^~~~~~~~~~
/in/foo.cc:86:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int j = 0; j < b.a.size(); j++){
                   ~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 32ms 200.0 KiB
#2 Accepted 1ms 196.0 KiB
#3 Accepted 2ms 200.0 KiB
#4 Accepted 1ms 192.0 KiB
#5 Accepted 5ms 196.0 KiB
#6 Accepted 4ms 196.0 KiB
#7 Accepted 9ms 196.0 KiB
#8 Accepted 12ms 192.0 KiB
#9 Accepted 8ms 200.0 KiB
#10 Accepted 21ms 196.0 KiB
#11 Accepted 1ms 200.0 KiB

信息

递交者
类型
递交
题目
a and b story 2
语言
C++
递交时间
2019-12-05 22:27:00
评测时间
2019-12-05 22:27:00
评测机
分数
110
总耗时
102ms
峰值内存
200.0 KiB