记录详情

Accepted

/in/foo.cc: In function 'void Mul(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 Add(std::vector<long long int>&, const std::vector<long long int>&)':
/in/foo.cc:20:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (long long i = 0; i < x2.size(); ++i) {
                           ~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 360.0 KiB
#2 Accepted 1ms 352.0 KiB
#3 Accepted 1ms 332.0 KiB
#4 Accepted 1ms 404.0 KiB
#5 Accepted 1ms 364.0 KiB

信息

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