/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'std::vector<int> merge(const std::vector<int>&, const std::vector<int>&)':
/in/foo.cc:62:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   62 |     while (i < a.size() && j < b.size()) {
      |            ~~^~~~~~~~~~
/in/foo.cc:62:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   62 |     while (i < a.size() && j < b.size()) {
      |                            ~~^~~~~~~~~~
/in/foo.cc:66:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   66 |     while (i < a.size()) res.push_back(a[i++]);
      |            ~~^~~~~~~~~~
/in/foo.cc:67:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   67 |     while (j < b.size()) res.push_back(b[j++]);
      |            ~~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 48ms 38.004 MiB
#2 Runtime Error 21ms 29.605 MiB
#3 Runtime Error 22ms 29.512 MiB
#4 Runtime Error 22ms 29.605 MiB
#5 Runtime Error 22ms 29.566 MiB
#6 Runtime Error 22ms 29.539 MiB
#7 Runtime Error 22ms 29.656 MiB
#8 Runtime Error 22ms 29.613 MiB
#9 Runtime Error 22ms 29.621 MiB
#10 Runtime Error 21ms 29.613 MiB
#11 Runtime Error 21ms 29.43 MiB
#12 Runtime Error 21ms 29.609 MiB
#13 Runtime Error 21ms 29.469 MiB

信息

递交者
类型
递交
题目
P1930 东方明珠下的音乐树
语言
C++
递交时间
2026-03-14 01:20:28
评测时间
2026-03-14 01:20:28
评测机
分数
0
总耗时
311ms
峰值内存
38.004 MiB