duckhunt36

Title Abridged statement: You are given a tree. Maximize the number of pairs of nodes (u, v) such that A_u < A_lca(u,v) < A_v over all permutations A of length n.

Submitting .cpp to 'duckhunt36'


You're not logged in! Click here to login

Time Limit: 1 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: Codeforces 1856E

Subtask Score
1 3
2 3
3 5
4 18
5 20
6 17
7 23
8 11
9 0