#include <iostream> #include <cstring> using namespace std; bool prime[41]={0,0,1,1,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,
分类:
其他好文 时间:
2016-02-16 20:31:08
阅读次数:
133
源代码: #include<iostream> using namespace std; string s; int n,num(0); struct treetype { char t; //用于节点储存字符。 bool over; //用于标记是否为此字符串的终结。 int next,deep,
分类:
编程语言 时间:
2016-02-16 20:29:14
阅读次数:
181
参考:http://www.cnblogs.com/delphinet/archive/2011/06/09/2075985.html 转换成秒: using System; using System.Collections.Generic; class Sentence { static void
分类:
其他好文 时间:
2016-02-16 20:27:17
阅读次数:
160
using NPOI.HSSF.UserModel; using NPOI.SS.UserModel; using System; using System.Data; using System.IO; using System.Windows.Forms; namespace Excel导出示例
分类:
其他好文 时间:
2016-02-16 20:26:52
阅读次数:
258
0.准备工作 1.下载并引入Aspose.Cells 下载Aspose Cells并引入using Aspose.Cells 下面示例中用的是.net 3.0版本的Aspose Cells,编译环境VS2013 具体下载和引入方法见:http://www.cnblogs.com/moonache/p
分类:
Web程序 时间:
2016-02-16 18:49:04
阅读次数:
416
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 换瓶子 { class Program { //...
How to: Synchronize Files by Using Managed Code FileSyncProvider Class File Synchronization Provider Sample Introduction to Microsoft Sync Framework F
下载Connector/Net驱动程序,并安装。 通过MySQLConnection对象来连接数据库,连接MySQL的程序的最前面需要引用MySql.Data.MySqlClient。 using MySql.Data.MySqlClient 创建MySqlConnection对象 MySqlCon
分类:
数据库 时间:
2016-02-16 18:37:44
阅读次数:
278
#include<iostream>#include<cstdio>#include<cstring>using namespace std;int main(){ int n,k,sum=0; cin>>n; int a[30001]={0}; for(int i=1;i<=n;i++) { ci
分类:
编程语言 时间:
2016-02-16 18:22:48
阅读次数:
150
#include<iostream>#include<cstdio>#include<cstring>#include<cstdlib>using namespace std;int main(){ int n; cin>>n; int a[n+1]; for(int i=1;i<=n;i++) c
分类:
编程语言 时间:
2016-02-16 18:19:50
阅读次数:
144