| UTPC April Fools Contest 2026 |
|---|
| Finished |
You are given a professional network modeled as an undirected graph of $$$n$$$ nodes and $$$m$$$ edges, where node $$$1$$$ represents a connected industry professional. Your goal is to establish a direct connection between yourself (node $$$0$$$) and node $$$1$$$ as efficiently as possible.
It is known that node $$$1$$$ spends much time on the 6th floor of GDC.
The first line contains two integers $$$n$$$ and $$$m$$$ ($$$2 \leq n \leq 10^9$$$, $$$1 \leq m \leq 10^9$$$) — the number of nodes and edges. The graph is guaranteed to be connected.
Establish a connection between node $$$0$$$ and node $$$1$$$.
6 70 22 33 44 55 12 53 1
??
| Name |
|---|


