/ 测试 /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:40:18: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions]
   40 |         for(auto [to,len]:G[i])
      |                  ^
/in/foo.cc:55:26: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions]
   55 |                     auto [d,now]=Q.top();
      |                          ^
/in/foo.cc:60:30: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions]
   60 |                     for(auto [to,len]:G[now])
      |                              ^
/in/foo.cc:73:18: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions]
   73 |         for(auto [to,len]:G[i])
      |                  ^
/in/foo.cc:87:18: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions]
   87 |             auto [d,now]=Q.top();
      |                  ^
/in/foo.cc:99:26: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions]
   99 |                 for(auto [to,len]:G[now])
      |                          ^
/in/foo.cc:108:26: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions]
  108 |                 for(auto [to,len]:G2[now])
      |                          ^
/in/foo.cc:38:9: warning: unused variable 'tot' [-Wunused-variable]
   38 |     int tot=0;
      |         ^~~
# 状态 耗时 内存占用
#1 Accepted 1589ms 36.465 MiB
#2 Accepted 1575ms 36.469 MiB
#3 Accepted 1499ms 36.465 MiB
#4 Accepted 1484ms 36.477 MiB
#5 Accepted 1556ms 36.473 MiB
#6 Accepted 1514ms 36.453 MiB
#7 Accepted 1471ms 36.469 MiB
#8 Accepted 1492ms 36.473 MiB
#9 Accepted 1489ms 36.473 MiB
#10 Accepted 1489ms 36.457 MiB

信息

递交者
类型
递交
题目
P1002 最短路
语言
C++
递交时间
2026-05-26 17:11:37
评测时间
2026-05-26 17:36:47
评测机
分数
100
总耗时
15161ms
峰值内存
36.477 MiB