记录详情

Wrong Answer

/in/foo.cc: In function 'BigInteger operator+(BigInteger&, BigInteger&)':
/in/foo.cc:31:39: warning: unused variable 'len' [-Wunused-variable]
   int lena=a.s.size(),lenb=b.s.size(),len=min(lena,lenb);
                                       ^~~
/in/foo.cc: In function 'BigInteger operator-(const BigInteger&, const BigInteger&)':
/in/foo.cc:48:2: warning: no return statement in function returning non-void [-Wreturn-type]
  }
  ^
/in/foo.cc: In function 'BigInteger operator*(const BigInteger&, const BigInteger&)':
/in/foo.cc:50:2: warning: no return statement in function returning non-void [-Wreturn-type]
  }
  ^
/in/foo.cc: In function 'BigInteger operator/(const BigInteger&, const BigInteger&)':
/in/foo.cc:52:2: warning: no return statement in function returning non-void [-Wreturn-type]
  }
  ^
/in/foo.cc: In function 'std::ostream& operator<<(std::ostream&, const BigInteger&)':
/in/foo.cc:2:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 #define rep(i,l,r) for(int i=(l);i<=(r);i++)
                                   ^
/in/foo.cc:79:3: note: in expansion of macro 'rep'
   rep(j,0,strlen(buf)-1) out<<buf[j];
   ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 204.0 KiB
#2 Accepted 1ms 188.0 KiB
#3 Accepted 1ms 192.0 KiB
#4 Accepted 1ms 204.0 KiB
#5 Wrong Answer 129ms 192.0 KiB
#6 Wrong Answer 143ms 188.0 KiB

信息

递交者
类型
递交
题目
求n累加和
题目数据
下载
语言
C++
递交时间
2018-10-30 17:46:04
评测时间
2018-10-30 17:46:04
评测机
分数
60
总耗时
279ms
峰值内存
204.0 KiB