/ Vijos /

记录详情

Accepted

/in/foo.cc: In member function 'void memo::short_path()':
/in/foo.cc:97:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node, std::allocator<node> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   97 |         for(int i = 0; i < vec[head.id].size(); i++)
      |                        ~~^~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:169:17: warning: 'iy' may be used uninitialized [-Wmaybe-uninitialized]
  169 |     path[cnt++] = iy;
      |     ~~~~~~~~~~~~^~~~
/in/foo.cc:118:21: note: 'iy' was declared here
  118 |     int maxx = N,ix,iy;
      |                     ^~
/in/foo.cc:170:13: warning: 'ix' may be used uninitialized [-Wmaybe-uninitialized]
  170 |     while(ix!=0)
      |           ~~^~~
/in/foo.cc:118:18: note: 'ix' was declared here
  118 |     int maxx = N,ix,iy;
      |                  ^~
# 状态 耗时 内存占用
#1 Accepted 3ms 2.164 MiB
#2 Accepted 19ms 8.094 MiB
#3 Accepted 18ms 8.086 MiB
#4 Accepted 28ms 8.316 MiB
#5 Accepted 27ms 8.18 MiB
#6 Accepted 3ms 2.164 MiB
#7 Accepted 3ms 2.766 MiB
#8 Accepted 2ms 2.363 MiB
#9 Accepted 18ms 7.855 MiB

信息

递交者
类型
递交
题目
P1139 小胖办证
语言
C++
递交时间
2026-06-28 18:58:44
评测时间
2026-06-28 18:58:44
评测机
分数
99
总耗时
126ms
峰值内存
8.316 MiB