#734. attention 4
attention 4
当前没有测试数据。
Background
attention is you need.
Description
有一天,LargeRice16pro 迷失在一个完整的无向图 G 中,这个图有 个顶点,每个顶点 都与一个魔法参数 相关联。对于每一对顶点 ,存在一条连接它们的无向边,其权重为 。
次询问,LargeRice16pro 想知道位于点 ,走到 点,最少需要多少的代价。
Format
Input
Two integers x and y, satisfying .
Output
One integer, the sum of x and y.
Samples
123 500
623
Limitation
1s, 1024KiB for each test case.