一、简介 GhostDoc是Visual Studio的一个免费插件,可以为开发人员自动生成XML格式的注释文档。 二、下载 需要的朋友可以去这里下载,填个Email地址就可以下了:GhostDoc下载地址 三、安装 下载安装完成后,可以在Visual Studio的工具菜单下找到Ghos...
分类:
Web程序 时间:
2015-06-30 23:22:59
阅读次数:
203
素数是什么大家应该都知道,一个数是不是素数也很简单。 一下是代码,分别由两个函数。一个函数实现判断一个数是不是素数,另外一个函数实现输出小于等于一个特定数字的所有素数。 #include "stdafx.h" #include using namespace std; //Display_sushu...
分类:
其他好文 时间:
2015-06-30 23:16:06
阅读次数:
221
题意:
给i,求由仅以2,3,5,7为因子的数中第i个是多少。
分析:
打表。
代码:
//poj 3307
//sep9
#include
using namespace std;
typedef unsigned __int64 INT;
const int maxL=66062;
INT a[maxL+10];
INT min4(INT a,INT b,INT c,INT d)
...
分类:
其他好文 时间:
2015-06-30 22:03:44
阅读次数:
110
废话不多说,请看下面程序:
#include
using namespace std;
#define SIGN1 char* //
typedef char * SIGN2;//typedef是一条语句所以以分号结尾
int main()
{
SIGN1 ch1,ch2;
SIGN2 ch3,ch4;
cout<<sizeof(ch1)<<" "<<sizeof(ch2)<<en...
分类:
编程语言 时间:
2015-06-30 22:02:08
阅读次数:
152
题目链接:http://bailian.openjudge.cn/practice/2773/
代码:
hint:01背包#include
#include
#include
#include
using namespace std;
int f[1005][1500];
int w[1005];
int v[1...
分类:
其他好文 时间:
2015-06-30 22:02:05
阅读次数:
138
水题。
代码:
//poj 2683
//sep9
#include
using namespace std;
int main()
{
int cases;
scanf("%d",&cases);
while(cases--){
int fund,year,op,ans=-1;
scanf("%d%d%d",&fund,&year,&op);
while(op--){
...
分类:
其他好文 时间:
2015-06-30 21:58:26
阅读次数:
137
题意:中文题目思路:spfa+SLF优化。关于SPFA的详情请戳我 1 #include 2 using namespace std; 3 const int N=105, INF=0x7f7f7f7f; 4 int n, m; 5 bool vis[N]; //标记是否在队列中 6 int...
分类:
其他好文 时间:
2015-06-30 21:40:15
阅读次数:
99
1 #include 2 #include 3 using namespace std; 4 5 int main() 6 { 7 int m, n; 8 cin >> m >> n; 9 vector > value(m, vector(n)); // 两个>用空格...
分类:
其他好文 时间:
2015-06-30 21:36:32
阅读次数:
132
题意:中文题目思路:匈牙利算法解决二分图最大匹配问题。 1 #include 2 using namespace std; 3 const int N=505; 4 int mapp[N][N]; //矩阵 5 int girl[N]; //记录该女已分配的男编号 6 int vis[N];...
分类:
其他好文 时间:
2015-06-30 21:35:07
阅读次数:
102
实现矩阵相加 1 #include 2 #include 3 #include 4 #include 5 #include 6 7 #include "cuda_runtime.h" 8 #include "device_launch_parameters.h" 9 using name...
分类:
其他好文 时间:
2015-06-30 20:17:41
阅读次数:
115