/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool bfs_check_connect(int, int, int, int)':
/in/foo.cc:26:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions]
   26 |         auto [x, y] = q.front();
      |              ^
/in/foo.cc: In function 'bool has_power_short_circuit()':
/in/foo.cc:59:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   59 |     for (int i = 0; i < neighbors.size(); ++i) {
      |                     ~~^~~~~~~~~~~~~~~~~~
/in/foo.cc:60:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   60 |         for (int j = i + 1; j < neighbors.size(); ++j) {
      |                             ~~^~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 480.0 KiB
#2 Accepted 1ms 452.0 KiB
#3 Accepted 1ms 524.0 KiB
#4 Accepted 1ms 528.0 KiB
#5 Accepted 1ms 532.0 KiB

信息

递交者
类型
递交
题目
P1373 电路探究
语言
C++
递交时间
2026-03-11 12:02:20
评测时间
2026-03-11 12:02:20
评测机
分数
50
总耗时
10ms
峰值内存
532.0 KiB