F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_37321795_23513.cpp: In function 'std::pair<long long int, std::vector<int> > dmst(int, int, std::vector<Edge>&)':
0_0_37321795_23513.cpp:64:47: error: converting to 'std::deque<std::tuple<int, int, std::vector<Edge, std::allocator<Edge> > > >::value_type {aka std::tuple<int, int, std::vector<Edge, std::allocator<Edge> > >}' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(const _Elements& ...) [with _Elements = {int, int, std::vector<Edge, std::allocator<Edge> >}]'
         cycs.push_front({u,t,{&Q[qi],&Q[end]}});
                                               ^
0_0_37321795_23513.cpp:69:13: error: expected unqualified-id before '[' token
   for(auto& [u,t,comp]:cycs) { // restore sol
             ^
0_0_37321795_23513.cpp:69:13: error: expected ';' before '[' token
0_0_37321795_23513.cpp:69:14: error: 'u' was not declared in this scope
   for(auto& [u,t,comp]:cycs) { // restore sol
              ^
0_0_37321795_23513.cpp:69:16: error: 't' was not declared in this scope
   for(auto& [u,t,comp]:cycs) { // restore sol
                ^
0_0_37321795_23513.cpp:69:18: error: 'comp' was not declared in this scope
   for(auto& [u,t,comp]:cycs) { // restore sol
                  ^
0_0_37321795_23513.cpp: In lambda function:
0_0_37321795_23513.cpp:69:23: error: expected '{' before ':' token
   for(auto& [u,t,comp]:cycs) { // restore sol
                       ^
0_0_37321795_23513.cpp: In function 'std::pair<long long int, std::vector<int> > dmst(int, int, std::vector<Edge>&)':
0_0_37321795_23513.cpp:69:23: error: expected ';' before ':' token
0_0_37321795_23513.cpp:69:23: error: expected primary-expression before ':' token
0_0_37321795_23513.cpp:69:23: error: expected ')' before ':' token
0_0_37321795_23513.cpp:69:23: error: expected primary-expression before ':' token


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-23 05:15:04, Gzip enabled