记录详情

Accepted

foo.cc: In function ‘void Merge(const std::vector<int>&, const std::vector<int>&, std::vector<int>&)’:
foo.cc:7:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
    7 |     while (i < a.size() && j < b.size()) {
      |            ~~^~~~~~~~~~
foo.cc:7:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
    7 |     while (i < a.size() && j < b.size()) {
      |                            ~~^~~~~~~~~~
foo.cc:14:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   14 |     while (i < a.size()) {
      |            ~~^~~~~~~~~~
foo.cc:17:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   17 |     while (j < b.size()) {
      |            ~~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 536.0 KiB
#2 Accepted 2ms 536.0 KiB
#3 Accepted 3ms 768.0 KiB
#4 Accepted 2ms 320.0 KiB
#5 Accepted 2ms 320.0 KiB

信息

递交者
类型
递交
题目
A10-1 有序数组的合并
比赛
2024-3-22 信息教师练习赛(3)
语言
C++
递交时间
2024-03-28 16:43:05
评测时间
2024-03-28 16:43:05
评测机
分数
100
总耗时
14ms
峰值内存
768.0 KiB