摘要:
正确答案题目描述: 小 H 与小 Y 刚刚参加完 UOIP 外卡组的初赛,就迫不及待的跑出考场对答案。 “吔,我的答案和你都不一样!”,小 Y 说道,”我们去找神犇们问答案吧”。 外卡组试卷中共有 m 道判断题,小 H 与小 Y 一共从其他 n 个神犇那问了答案。之后又从小 G 那... 阅读全文
摘要:
ShoppingProblem Description You have just moved into a new apartment and have a long list of items you need to buy. Unfortunately, to buy thi... 阅读全文
摘要:
find the most comfortable roadProblem Description XX星有许多城市,城市之间通过一种奇怪的高速公路SARS(Super Air Roam Structure—超级空中漫游结构)进行交流,每条SARS都对行驶在上面的Flycar限制了... 阅读全文
摘要:
The Unique MSTDescription Given a connected undirected graph, tell if its minimum spanning tree is unique. Definition 1 (Spanning Tree): Con... 阅读全文
摘要:
冒泡排序图问题描述: 有一段使用冒泡排序产生一张图的伪代码如下: function bubbleSortGraph(n, a[]): graph = emptyGraph() repeat swapped = false for i = 1 to n - 1: if a[i] > ... 阅读全文