记录详情

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:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (maxsize == v.size())
             ~~~~~~~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 364.0 KiB
#2 Accepted 1ms 396.0 KiB
#3 Accepted 1ms 380.0 KiB
#4 Accepted 2ms 376.0 KiB
#5 Accepted 1ms 360.0 KiB

信息

递交者
类型
递交
题目
P1024 OO6-2 高精度整数类的加法运算
比赛
2024春 面向对象的程序设计方法(第3场作业赛)
语言
C++
递交时间
2024-04-25 16:45:53
评测时间
2024-04-25 16:45:53
评测机
分数
100
总耗时
8ms
峰值内存
396.0 KiB