Main.cpp: In function 'int main()':
Main.cpp:10:26: error: 'struct std::pair<long long int, long long int>' has no member named 'end'
10 | cin>>start.first>>start.end;
| ^~~
Main.cpp:23:15: error: incompatible types in assignment of 'double' to 'll [2]' {aka 'long long int [2]'}
23 | dist[i][0] = 1e18;
| ~~~~~~~~~~~^~~~~~
Main.cpp:24:15: error: incompatible types in assignment of 'double' to 'll [2]' {aka 'long long int [2]'}
24 | dist[i][1] = 1e18;
| ~~~~~~~~~~~^~~~~~
Main.cpp:27:28: error: 'struct std::pair<long long int, long long int>' has no member named 'end'
27 | q.push({start.first,start.end});
| ^~~
Main.cpp:27:32: error: no matching function for call to 'std::queue<std::pair<long long int, long long int> >::push(<brace-enclosed initializer list>)'
27 | q.push({start.first,start.end});
| ^
In file included from /usr/include/c++/10/queue:64,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:86,
from Main.cpp:1:
/usr/include/c++/10/bits/stl_queue.h:265:7: note: candidate: 'void std::queue<_Tp, _Sequence>::push(const value_type&) [with _Tp = std::pair<long long int, long long int>; _Sequence = std::deque<std::pair<long long int, long long int>, std::allocator<std::pair<long long int, long long int> > >; std::queue<_Tp, _Sequence>::value_type = std::pair<long long int, long long int>]'
265 | push(const value_type& __x)
| ^~~~
/usr/include/c++/10/bits/stl_queue.h:265:30: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const value_type&' {aka 'const std::pair<long long int, long long int>&'}
265 | push(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/10/bits/stl_queue.h:270:7: note: candidate: 'void std::queue<_Tp, _Sequence>::push(std::queue<_Tp, _Sequence>::value_type&&) [with _Tp = std::pair<long long int, long long int>; _Sequence = std::deque<std::pair<long long int, long long int>, std::allocator<std::pair<long long int, long long int> > >; std::queue<_Tp, _Sequence>::value_type = std::pair<long long int, long long int>]'
270 | push(value_type&& __x)
| ^~~~
/usr/include/c++/10/bits/stl_queue.h:270:25: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::queue<std::pair<long long int, long long int> >::value_type&&' {aka 'std::pair<long long int, long long int>&&'}
270 | push(value_type&& __x)
| ~~~~~~~~~~~~~^~~