记录详情

Accepted

/in/foo.cc: In member function 'Bigint Bigint::operator*(Bigint)':
/in/foo.cc:29:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < v.size(); i++)
                         ~~^~~~~~~~~~
/in/foo.cc:30:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int j = 0; j < x.v.size(); j++)
                             ~~^~~~~~~~~~~~
/in/foo.cc:32:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < v.size() * x.v.size(); i++)
                         ~~^~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In member function 'Bigint Bigint::operator+(Bigint)':
/in/foo.cc:54:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
         if (maxsize = v.size())
                               ^
# 状态 耗时 内存占用
#1 Accepted 1ms 364.0 KiB

信息

递交者
类型
自测
题目
P1321 OO6-2 高精度整数类的加法运算
语言
C++
递交时间
2024-04-25 16:40:24
评测时间
2024-04-25 16:40:24
评测机
分数
10
总耗时
1ms
峰值内存
364.0 KiB