/ new_bzoj /

记录详情

Time Exceeded

/in/foo.cc: In member function 'big_integer big_integer::operator+(const big_integer&) const':
/in/foo.cc:87:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0, carry = 0; carry != 0 || i < v.size() || i < addend.v.size(); i++)
                                                  ~~^~~~~~~~~~
/in/foo.cc:87:68: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0, carry = 0; carry != 0 || i < v.size() || i < addend.v.size(); i++)
                                                                  ~~^~~~~~~~~~~~~~~~~
/in/foo.cc:90:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if (i < v.size()) cur += v[i];
                 ~~^~~~~~~~~~
/in/foo.cc:91:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if (i < addend.v.size()) cur += addend.v[i];
                 ~~^~~~~~~~~~~~~~~~~
/in/foo.cc: In member function 'big_integer big_integer::operator-(const big_integer&) const':
/in/foo.cc:114:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0, carry = 0; carry != 0 || i < v.size(); i++)
                                                  ~~^~~~~~~~~~
/in/foo.cc:117:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if (i < subtrahend.v.size()) cur -= subtrahend.v[i];
                 ~~^~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In member function 'big_integer big_integer::operator*(const big_integer&) const':
/in/foo.cc:151:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < v.size(); i++)
                         ~~^~~~~~~~~~
/in/foo.cc:153:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int j = 0; j < multiplier.v.size(); j++)
                             ~~^~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:155:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (i + j >= product.v.size()) product.v.resize(i + j + 1, 0);
                     ~~~~~~^~~~~~~~~~~~~~~~~~~
/in/foo.cc:159:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (i + j + 1 >= product.v.size()) product.v.resize(i + j + 1 + 1, 0);
                         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 372.0 KiB
#2 Time Exceeded ≥5004ms ≥536.0 KiB
#3 Time Exceeded ≥5003ms ≥492.0 KiB
#4 Accepted 2ms 360.0 KiB
#5 Accepted 4ms 380.0 KiB
#6 Accepted 34ms 336.0 KiB
#7 Accepted 1778ms 384.0 KiB
#8 Time Exceeded ≥5005ms ≥1008.0 KiB
#9 Time Exceeded ≥5003ms ≥384.0 KiB
#10 Time Exceeded ≥5002ms ≥1008.0 KiB

信息

递交者
类型
递交
题目
高精度开根
语言
C++
递交时间
2018-09-11 14:39:39
评测时间
2018-09-11 14:39:39
评测机
分数
50
总耗时
≥26843ms
峰值内存
≥1008.0 KiB