记录详情

Wrong Answer

/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 1ms 204.0 KiB
#2 Accepted 1ms 204.0 KiB
#3 Accepted 1ms 204.0 KiB
#4 Accepted 1ms 200.0 KiB
#5 Accepted 1ms 204.0 KiB
#6 Wrong Answer 1ms 208.0 KiB
#7 Wrong Answer 1ms 212.0 KiB
#8 Accepted 1ms 204.0 KiB
#9 Accepted 1ms 208.0 KiB
#10 Accepted 1ms 204.0 KiB

信息

递交者
类型
递交
语言
C++
递交时间
2019-12-05 22:27:34
评测时间
2019-12-05 22:27:34
评测机
分数
80
总耗时
12ms
峰值内存
212.0 KiB