摘要:
You are given a tree consisting of n vertices. A number is written on each vertex; the number on vertex i is equal to ai . Let's denote the function g 阅读全文
posted @ 2019-01-12 10:01
nimphy
阅读(878)
评论(0)
推荐(0)
摘要:
You are given an array a1,a2,…,an of integer numbers. Your task is to divide the array into the maximum number of segments in such a way that: each el 阅读全文
posted @ 2019-01-12 09:56
nimphy
阅读(558)
评论(0)
推荐(0)