using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; namespace N
分类:
其他好文 时间:
2016-02-28 18:40:51
阅读次数:
161
(~ ̄▽ ̄)~* 水 //水题;潜力^e为正数(e为2时都可以)的儿子都可以去上战场了, //英文要看懂,exponent指数,不超过3的正数 #include #include #include #include using namespace std; int main() { int n,e,...
分类:
其他好文 时间:
2016-02-28 16:53:29
阅读次数:
211
效果 首先,我们先来准备我们需要的类 1.检查项目类 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespa
分类:
其他好文 时间:
2016-02-28 16:35:48
阅读次数:
266
这道问题是求1-N的次短路的长度,我们直接在dist[maxn][2]上加1维更新即可, 代码如下: #include <cstdio> #include <cstring> #include <algorithm> #include <vector> #include <queue> using
分类:
其他好文 时间:
2016-02-28 13:54:45
阅读次数:
163
// 全排列问题.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <iostream> using namespace std; template<class T> void swap(T *str1,T *str2) { T temp; t
分类:
其他好文 时间:
2016-02-28 12:36:47
阅读次数:
180
处理处每个节点的孩子有几个,和树的大小就好了。 #include<cstdio> #include<queue> #include<cstring> #include<iostream> #include<algorithm> #define INF 99999999 using namespace
分类:
其他好文 时间:
2016-02-28 12:29:59
阅读次数:
117
接上一篇:http://www.cnblogs.com/mazhiyuan/p/5224049.html讲一下Factory.cs工厂类 using System; using System.Collections.Generic; using System.Linq; using System.T
分类:
其他好文 时间:
2016-02-28 09:50:55
阅读次数:
240
接上篇 http://www.cnblogs.com/mazhiyuan/p/5224046.html讲:Post.cs文件的编写 using System; using System.Collections.Generic; using System.Linq; using System.Text
分类:
其他好文 时间:
2016-02-28 09:48:10
阅读次数:
179
#include <iostream> #include <fstream> using namespace std; struct LinkNode { int data; LinkNode* next; }; LinkNode* createLink(LinkNode* head) { ifst
分类:
其他好文 时间:
2016-02-28 06:29:16
阅读次数:
136
(~ ̄▽ ̄)~* #include #include #include #include using namespace std; int main() { int n; double w[105]; while(~scanf("%d",&n)) { for(int i=0;i0;i--) { w[...
分类:
其他好文 时间:
2016-02-28 00:55:18
阅读次数:
209