暑假集训系列题解(八)

暑假集训系列题解(八)题目1题目链接Grass Planting题目描述Farmer John has N barren pastures (2 <= N <= 100,000) connected by N-1 bidirectional ...

Read More


PTA L3-028 森森旅游 (30 分) 题解

题目链接:https://pintia.cn/problem-sets/994805046380707840/problems/1386335159927652364题解:建两个图,正图和反图。正图里的边权是现金,反图里的边权是旅游金。然后分别以1为起点...

Read More


2021/3/10 题解

问题 F: Homework提交题目描述There are n children (numbered from 1 to n) learning the arithmetic operations, which include addition “+”,...

Read More