/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'std::vector<int> merge(const std::vector<int>&, const std::vector<int>&)':
/in/foo.cc:79:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   79 |     while (i < a.size() && j < b.size()) {
      |            ~~^~~~~~~~~~
/in/foo.cc:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   79 |     while (i < a.size() && j < b.size()) {
      |                            ~~^~~~~~~~~~
/in/foo.cc:83:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   83 |     while (i < a.size()) res.push_back(a[i++]);
      |            ~~^~~~~~~~~~
/in/foo.cc:84:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   84 |     while (j < b.size()) res.push_back(b[j++]);
      |            ~~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 82ms 36.262 MiB
#2 Runtime Error 20ms 28.383 MiB
#3 Runtime Error 21ms 28.305 MiB
#4 Runtime Error 21ms 28.375 MiB
#5 Runtime Error 21ms 28.219 MiB
#6 Runtime Error 21ms 28.215 MiB
#7 Runtime Error 25ms 28.387 MiB
#8 Runtime Error 22ms 28.391 MiB
#9 Runtime Error 22ms 28.395 MiB
#10 Runtime Error 21ms 28.379 MiB
#11 Runtime Error 22ms 28.238 MiB
#12 Runtime Error 21ms 28.27 MiB
#13 Runtime Error 22ms 28.27 MiB

信息

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