Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<bits/stdc++.h>
- using namespace std;
- struct Way
- {
- int to, w;
- Way(int _to, int _w)
- {
- to = _to;
- w = _w;
- }
- };
- operator<(const Way left, const Way right)
- {
- return left.w < right.w;
- }
- int main()
- {
- ios::sync_with_stdio(0);
- cin.tie(0);
- set<Way> ways;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement