记录详情

Accepted

/in/foo.cc: In function 'void Mul_s(std::vector<long long int>&, long long int)':
/in/foo.cc:6:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (long long i = 0; i < x.size(); ++i) {
                           ~~^~~~~~~~~~
/in/foo.cc:7:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (x[i] >= 10 && i == x.size() - 1)
                           ~~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'void Mul(std::vector<long long int>&, const std::vector<long long int>&)':
/in/foo.cc:17:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (long long i = 0; i < x1.size(); ++i)
                           ~~^~~~~~~~~~~
/in/foo.cc:18:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (long long j = 0; j < x2.size(); ++j)
                               ~~^~~~~~~~~~~
/in/foo.cc:20:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (long long i = 0; i < r.size(); ++i)
                           ~~^~~~~~~~~~
/in/foo.cc: In function 'void Add(std::vector<long long int>&, const std::vector<long long int>&)':
/in/foo.cc:36:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (long long i = 0; i < x2.size(); ++i) {
                           ~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 356.0 KiB
#2 Accepted 1ms 328.0 KiB
#3 Accepted 1ms 332.0 KiB
#4 Accepted 1ms 332.0 KiB
#5 Accepted 1ms 376.0 KiB

信息

递交者
类型
递交
题目
A11-4 高精度整数之间的乘法
比赛
2024程序设计与竞赛作业赛第二场(数组与世界)
语言
C++
递交时间
2024-10-11 20:09:56
评测时间
2024-10-11 20:09:56
评测机
分数
100
总耗时
7ms
峰值内存
376.0 KiB