记录详情

Accepted

/in/foo.cc: In function 'std::vector<int> mul(std::vector<int>&, int)':
/in/foo.cc:10:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < a.size() || t; i++)
                     ~~^~~~~~~~~~
/in/foo.cc:12:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (i < a.size()) t += a[i] * b;
             ~~^~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:31:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < a.size(); i++)
                     ~~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 10ms 320.0 KiB
#2 Accepted 2ms 324.0 KiB
#3 Accepted 2ms 420.0 KiB
#4 Accepted 1ms 424.0 KiB
#5 Accepted 1ms 328.0 KiB

信息

递交者
类型
递交
题目
P1023 OO6-1 高精度整数类的乘法运算
比赛
2022春 面向对象程序设计方法的上机作业
语言
C++
递交时间
2022-06-15 23:06:19
评测时间
2022-06-15 23:06:19
评测机
分数
100
总耗时
18ms
峰值内存
424.0 KiB