摘要: Write a program that takes as input a rooted tree and a list of pairs of vertices. For each pair (u,v) the program determines the closest common ances 阅读全文
posted @ 2018-08-04 09:52 左手边五十米 阅读(238) 评论(0) 推荐(0) 编辑
摘要: You are given an array d1,d2,…,dnd1,d2,…,dn consisting of nn integer numbers. Your task is to split this array into three parts (some of which may be 阅读全文
posted @ 2018-08-04 09:44 左手边五十米 阅读(191) 评论(0) 推荐(0) 编辑