/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int Solve()':
/in/foo.cc:79:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   79 |                 for( int i = 0 ; i < Graph[ u ].size( ) ; i ++ ) vt[ Graph[ u ][ i ].v ] = Graph[ u ][ i ].w;
      |                                  ~~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   80 |                 for( int i = 0 ; i < Graph[ u ].size( ) ; i ++ ) {
      |                                  ~~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc:83:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   83 |                         for( int j = 0 ; j < Graph[ v ].size( ) ; j ++ ) {
      |                                          ~~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc:92:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   92 |                 for( int i = 0 ; i < Graph[ u ].size( ) ; i ++ ) vt[ Graph[ u ][ i ].v ] = 0;
      |                                  ~~^~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 7ms 3.344 MiB
#2 Runtime Error 7ms 3.176 MiB
#3 Runtime Error 7ms 3.348 MiB

信息

递交者
类型
递交
题目
P2048 原题识别
语言
C++
递交时间
2025-06-07 00:37:01
评测时间
2025-06-07 00:37:01
评测机
分数
0
总耗时
22ms
峰值内存
3.348 MiB