- 2022-11-09ACdream 1028 Path
DescriptionCheckifthereexistsapathoflength ll inthegiventreewithweightassignedtoeachedges.InputThefirstlinecontainstwoin
- 2022-11-09ACdream 1427 Nice Sequence
Description Letusconsiderthesequencea1, a2,..., an ofnon-negativeintegernumbers.Denoteasci,j thenumber ofoccurrencesofthenumber
- 2022-11-09ACdream 1430 SETI
Description AmateurastronomersTomandBobtrytofindradiobroadcastsofextraterrestrialcivilizationsinthe air.Recentlytheyreceivedsomes
- 2022-11-09ACdream 1429 Rectangular Polygon
Description Arectangularpolygonisapolygonwhoseedgesareallparalleltothecoordinateaxes.Thepolygon musthaveasingle,non-intersecting