/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'void BFS(int)':
/in/foo.cc:50:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<edgenode>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   50 |         for (int i = 0; i < edge[u].size(); i++)
      |                         ~~^~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:76:16: error: '\U0000ff08' was not declared in this scope
   76 |     ed = (1 << ((n + 1)) - 1;
      |                ^~
/in/foo.cc:91:25: warning: value computed is not used [-Wunused-value]
   91 |                 boat[j] == 1;
/in/foo.cc:106:86: warning: comparison of integer expressions of different signedness: 'std::size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
  106 |                 if (boat1[0] == 0 && flag[j] && boat1[0] != boat2[0] && tmp2.count() <= m)
      |                                                                         ~~~~~~~~~~~~~^~~~

信息

递交者
类型
递交
题目
P1578 渡河
语言
C++
递交时间
2025-03-12 17:33:10
评测时间
2025-03-12 17:33:10
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes