/ Vijos /

记录详情

Accepted

/in/foo.cc: In constructor 'Sig::Sig(std::vector<std::complex<double> >*)':
/in/foo.cc:58:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         while (m < V->size()) {
                ~~^~~~~~~~~~~
/in/foo.cc: In copy constructor 'Sig::Sig(const Sig&)':
/in/foo.cc:67:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < s.V->size(); ++i) {
                         ~~^~~~~~~~~~~~~
/in/foo.cc: In member function 'Sig Sig::fft() const':
/in/foo.cc:86:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < V->size(); ++i) {
                         ~~^~~~~~~~~~~
/in/foo.cc:92:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int k = 0; k < V->size(); k += m) {
                             ~~^~~~~~~~~~~
/in/foo.cc: In member function 'Sig Sig::ifft() const':
/in/foo.cc:110:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < V->size(); ++i) {
                         ~~^~~~~~~~~~~
/in/foo.cc:116:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int k = 0; k < V->size(); k += m) {
                             ~~^~~~~~~~~~~
/in/foo.cc: In copy constructor 'BigInteger::BigInteger(const BigInteger&)':
/in/foo.cc:188:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < s.T->size(); ++i) {
                         ~~^~~~~~~~~~~~~
/in/foo.cc: In member function 'BigInteger BigInteger::operator*(const BigInteger&)':
/in/foo.cc:210:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < T->size(); ++i) {
                         ~~^~~~~~~~~~~
/in/foo.cc:213:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < rhs.T->size(); ++i) {
                         ~~^~~~~~~~~~~~~~~
/in/foo.cc:225:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < lhs_out.V->size(); ++i) {
                         ~~^~~~~~~~~~~~~~~~~~~
/in/foo.cc:235:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < pro_out.V->size(); ++i) {
                         ~~^~~~~~~~~~~~~~~~~~~
/in/foo.cc: In member function 'void BigInteger::rearrange()':
/in/foo.cc:246:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < T->size() - 1; ++i) {
                         ~~^~~~~~~~~~~~~~~
/in/foo.cc: In member function 'void BigInteger::print()':
/in/foo.cc:263:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < T->size(); ++i) {
                         ~~^~~~~~~~~~~
/in/foo.cc: In member function 'char* BigInteger::str()':
/in/foo.cc:273:37: warning: format '%d' expects argument of type 'int', but argument 3 has type '__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}' [-Wformat=]
         sprintf(s, "%d", (*T)[l - 1]);
                                     ^
# 状态 耗时 内存占用
#1 Accepted 2ms 340.0 KiB
#2 Accepted 411ms 5.309 MiB
#3 Accepted 411ms 5.312 MiB
#4 Accepted 399ms 5.324 MiB
#5 Accepted 397ms 5.32 MiB
#6 Accepted 396ms 5.32 MiB
#7 Accepted 389ms 5.32 MiB
#8 Accepted 389ms 5.324 MiB
#9 Accepted 389ms 5.32 MiB
#10 Accepted 383ms 5.281 MiB

信息

递交者
类型
递交
题目
P2000 A x B Problem
语言
C++
递交时间
2020-12-14 14:23:37
评测时间
2020-12-14 14:23:37
评测机
分数
100
总耗时
3569ms
峰值内存
5.324 MiB