forms 接口定义using System;using System.Collections.Generic;using System.IO;namespace PocketDoctor{ public interface IUtilPicture { List Resi...
分类:
移动开发 时间:
2015-07-31 23:30:39
阅读次数:
146
水题 求出三个人每两个间的LCA,然后最小花费就是两两点之间的路径长度之和除以2 1 #include 2 #include 3 #include 4 using namespace std; 5 const int maxn = 500005; 6 struct edge{ 7 in...
分类:
其他好文 时间:
2015-07-31 23:25:48
阅读次数:
150
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication7{ class Program { static v...
分类:
其他好文 时间:
2015-07-31 23:24:09
阅读次数:
117
背包问题时间限制:3000ms | 内存限制:65535KB难度:3描述现在有很多物品(它们是可以分割的),我们知道它们每个物品的单位重量的价值v和重量w(1 2 #include 3 using namespace std; 4 5 struct ac 6 { 7 int a, b;...
分类:
其他好文 时间:
2015-07-31 23:19:01
阅读次数:
184
#include #include #include using namespace std;int a[505], b[505];int dp[505], path[505];int Susake_lcis[505][505];void Susake_LCIS(int a[], int la, i...
分类:
其他好文 时间:
2015-07-31 23:17:22
阅读次数:
129
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 面向对象之继承{ class Program ...
分类:
其他好文 时间:
2015-07-31 23:15:11
阅读次数:
138
题意:n个信封和1张卡片,求最多满足左信封#include #include using namespace std;struct Node{ int si, sj; unsigned short n;};Node Susake[5002];int short dp[5002][5002...
分类:
其他好文 时间:
2015-07-31 23:14:11
阅读次数:
165
1 forms 代码 2 3 4 5 using System; 6 7 using Xamarin.Forms; 8 9 10 11 namespace Fugao.Core 12 13 { 14 15 public class ContentWe...
分类:
移动开发 时间:
2015-07-31 23:13:50
阅读次数:
337
思路别人那里讲的很清楚了,我就不阐述了。链接 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 const int MAXN=250+5; 7 int n; 8 struct Big 9 {10 int ...
分类:
其他好文 时间:
2015-07-31 23:12:25
阅读次数:
192
#include #include #include using namespace std;#define N 1000char a[N], b[N];int Susake_lcs[N][N];void Susake_LCS(char*s1, char *s2, int m, int n){ .....
分类:
其他好文 时间:
2015-07-31 23:07:59
阅读次数:
151