Problems
Queue
Competitions
Ranking
Articles
Signup
Signin
bolt
Try our new interface for solving problems
Try
Problems
LCA
Statement
Solutions
Statistics
Discussion
RAAAAAAAAAAAAATABEY
published at 7/3/23, 1:29:54 pm
why isn't the answer n*(n+1) (number of all pairs of vertices)?