Problem riggedroads
User Xiaoyang
Submission Time 2023-03-14 17:50:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

riggedroads.cpp: In function ‘int main()’:
riggedroads.cpp:67:21: error: conversion from ‘vector<edge>’ to non-scalar type ‘vector<long long int>’ requested
67 | vector<ll>original=alist;
| ^~~~~
riggedroads.cpp:69:9: error: no match for ‘operator=’ (operand types are ‘std::vector<edge>’ and ‘std::vector<long long int>’)
69 | alist=original;
| ^~~~~~~~
In file included from /usr/include/c++/9/vector:72,
from /usr/include/c++/9/functional:62,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from riggedroads.cpp:1:
/usr/include/c++/9/bits/vector.tcc:198:5: note: candidate: ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [w