06 2018 档案

摘要:题目链接:https://vjudge.net/contest/234309#problem/C 题目大意: 给你n个字符串,每个字符串都是有小写字母组成的。重新给这些字符串 排序。按照以下规则:每个字符串的前面都是它的子串 如果在b中选择连续的字母可以组成a,则称a是b的子串。比如字符串“for” 阅读全文
posted @ 2018-06-14 23:57 悠悠呦~
该文被密码保护。
posted @ 2018-06-11 19:10 悠悠呦~
该文被密码保护。
posted @ 2018-06-10 22:05 悠悠呦~
该文被密码保护。
posted @ 2018-06-03 23:10 悠悠呦~
摘要:题目链接 题目描述 对于一个递归函数w(a,b,c) 如果a<=0 or b<=0 or c<=0就返回值1. 如果a>20 or b>20 or c>20就返回w(20,20,20) 如果a<b并且b<c 就返回w(a,b,c-1)+w(a,b-1,c-1)-w(a,b-1,c) 其它别的情况就返 阅读全文
posted @ 2018-06-01 23:28 悠悠呦~
摘要:题目链接 #include <bits/stdc++.h> using namespace std; #define rep(i,s,t) for(int i=s;i<t;i++) #define REP(i,s,t) for(int i=s;i<=t;i++) const int N = 1e3 阅读全文
posted @ 2018-06-01 18:41 悠悠呦~
摘要:《题目链接》 #include <bits/stdc++.h> using namespace std; #define REP(i,s,t) for(int i=s;i<=t;i++) const int N = 205; struct Node { int x, step; }; queue<N 阅读全文
posted @ 2018-06-01 00:00 悠悠呦~

浏览器标题切换
浏览器标题切换end