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_34882742_31077.cpp: In function 'std::pair<long long int, std::vector<int> > dmst(int, int, std::vector<Edge>&)':
0_0_34882742_31077.cpp:80:65: 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(_UElements&& ...) [with _UElements = {int&, int&, std::vector<Edge, std::allocator<Edge> >}; <template-parameter-2-2> = void; _Elements = {int, int, std::vector<Edge, std::allocator<Edge> >}]'
         cycs.push_front({u, time, vector<Edge>{&Q[qi], &Q[end]}});
                                                                 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-10 17:27:17, Gzip enabled