记录详情

Accepted

/in/foo.cc: In member function 'Wint& Wint::check()':
/in/foo.cc:21:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 1; i < size(); ++i) {
                         ~~^~~~~~~~
/in/foo.cc: In function 'Wint& operator+=(Wint&, const Wint&)':
/in/foo.cc:80:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i != b.size(); ++i)a[i] += b[i];
                     ~~^~~~~~~~~~~
/in/foo.cc: In function 'Wint& operator-=(Wint&, Wint)':
/in/foo.cc:90:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i != b.size(); a[i] -= b[i], ++i)
                     ~~^~~~~~~~~~~
/in/foo.cc: In function 'Wint operator*(const Wint&, const Wint&)':
/in/foo.cc:110:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i != a.size(); ++i)
                     ~~^~~~~~~~~~~
/in/foo.cc:111:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int j = 0; j != b.size(); ++j)
                         ~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 388.0 KiB
#2 Accepted 1ms 340.0 KiB
#3 Accepted 1ms 328.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 1ms 428.0 KiB

信息

递交者
类型
递交
题目
P1025 OO6-3 高精度整数集合类的插入排序
比赛
2022春 面向对象程序设计方法的上机作业
语言
C++
递交时间
2022-06-13 16:40:43
评测时间
2022-06-13 16:40:43
评测机
分数
100
总耗时
8ms
峰值内存
428.0 KiB