- 博客(3)
- 收藏
- 关注
原创 八数码问题
#include <iostream>#include <stdio.h>#include <string.h>#include <algorithm>#include <map>#include <math.h>#include <queue>#include <vector>usin...
2020-04-10 22:57:06
91
转载 Friend Chains
For a group of people, there is an idea that everyone is equals to or less than 6 steps away from any other person in the group, by way of introduction. So that a chain of “a friend of a friend” can b...
2020-04-10 14:43:19
136
原创 Inversion——求逆序对
bobo has a sequence a 1,a 2,…,a n. He is allowed to swap two adjacent numbers for no more than k times.Find the minimum number of inversions after his swaps.Note: The number of inversions is the num...
2020-04-09 22:27:32
139
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人