会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
痴月
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
12
13
···
27
下一页
2018年10月22日
如何读题
摘要: 读题水平太差,被队友怀疑英语水平(QWQ)。 ...
阅读全文
posted @ 2018-10-22 20:02 Mercury_Lc
阅读(304)
评论(0)
推荐(0)
2018年10月19日
康托展开与康托逆展开
摘要: 康托展开康托展开,用人话说出来..就是把一个数组的多种排序情况对应用数字表示出来公式:X = a[i] * (n-1)! + a[i-1] * (n-2)! + … + a[1] * 0!其中a[i]表示后面比该元素小的元素的个数举个例子,有5个数1 2 3 4 5共...
阅读全文
posted @ 2018-10-19 15:04 Mercury_Lc
阅读(111)
评论(0)
推荐(0)
数据结构实验之栈与队列四:括号匹配(SDUT 2134)
摘要: #include using namespace std;typedef long long ll;char s[100];char a[100];int main(){ int i,j,k,f,top,len; while(gets(s) != '\0'...
阅读全文
posted @ 2018-10-19 09:20 Mercury_Lc
阅读(199)
评论(0)
推荐(0)
从 s 点到 t 点的最短路(简单模板)(迪杰斯特拉)
摘要: 迪杰斯特拉简单版#include using namespace std;int m,n;const int inf = 0x3f3f3f3f;int dis[1005];int gra[405][405];int vis[1005];void dj(int s, i...
阅读全文
posted @ 2018-10-19 08:54 Mercury_Lc
阅读(264)
评论(0)
推荐(0)
畅通工程续(HDU 1874)(简单最短路)
摘要: 某省自从实行了很多年的畅通工程计划后,终于修建了很多路。不过路多了也不好,每次要从一个城镇到另一个城镇时,都有许多种道路方案可以选择,而某些方案要比另一些方案行走的距离要短很多。这让行人很困扰。现在,已知起点和终点,请你计算出要从起点到终点,最短需要行走多少距离。In...
阅读全文
posted @ 2018-10-19 08:52 Mercury_Lc
阅读(110)
评论(0)
推荐(0)
Til the Cows Come Home ( POJ 2387) (简单最短路 Dijkstra)
摘要: problemBessie is out in the field and wants to get back to the barn to get as much sleep as possible before Farmer John wakes her for ...
阅读全文
posted @ 2018-10-19 08:30 Mercury_Lc
阅读(109)
评论(0)
推荐(0)
2018年10月18日
顺序表应用7:最大子段和之分治递归法(SDUT 3664)
摘要: #include using namespace std;const int maxn = 50005;int num = 0;struct node{ int *elem; int len;};void Creatlist(struct node &li...
阅读全文
posted @ 2018-10-18 15:41 Mercury_Lc
阅读(558)
评论(0)
推荐(0)
2018年10月17日
Java面向对象4(P~U)
摘要: P 3-1 Point类的构造函数 (SDUT 2670)import java.util.Arrays;import java.util.Scanner;public class Main { public static void main(String[] ...
阅读全文
posted @ 2018-10-17 11:15 Mercury_Lc
阅读(187)
评论(0)
推荐(0)
House Lawn Kattis - houselawn
摘要: ProblemYou have just bought a new house, and it has a huge, beautiful lawn. A lawn that needs cutting. Several times. Every week. The ...
阅读全文
posted @ 2018-10-17 10:38 Mercury_Lc
阅读(309)
评论(0)
推荐(0)
Jumbled String (Kattis - jumbledstring)(思维题)
摘要: ProblemRecall that a subsequence of a string is any string obtained by removing some subset of characters from the string, for instanc...
阅读全文
posted @ 2018-10-17 09:35 Mercury_Lc
阅读(349)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
···
27
下一页
公告