暑假集训系列题解(八)题目1题目链接Grass Planting题目描述Farmer John has N barren pastures (2 <= N <= 100,000) connected by N-1 bidirectional ...
题目链接:https://pintia.cn/problem-sets/994805046380707840/problems/1386335159927652364题解:建两个图,正图和反图。正图里的边权是现金,反图里的边权是旅游金。然后分别以1为起点...
问题 F: Homework提交题目描述There are n children (numbered from 1 to n) learning the arithmetic operations, which include addition “+”,...