//poj 2038
//sep9
#include
#include
using namespace std;
char s[128][8];
int count(char s1[],char s2[])
{
int cnt=0;
for(int i=0;i<5;++i)
for(int j=i+1;j<5;++j){
int k;
for(k=0;k<5;++k)
...
分类:
其他好文 时间:
2015-07-06 12:24:10
阅读次数:
105
数组:
#include
using namespace std;
//模板函数
template
void dump(T val)
{
cout >>>" << __FUNCTION__ << endl;//内置的宏,打印当前函数的名字
cout << sizeof(val) << ":" << typeid(val).name() << endl;
cout << "<<<<" ...
分类:
编程语言 时间:
2015-07-06 12:18:58
阅读次数:
102
using System;using System.Collections.Generic;using System.Linq;using System.Text; namespace S{ class Program { static void Main() ...
分类:
其他好文 时间:
2015-07-06 12:08:21
阅读次数:
116
using (Graphics g = this.CreateGraphics()) { g.SmoothingMode = SmoothingMode.HighQuality; //图片柔顺模式选择 g.Interpolat...
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 using namespace std; 9 #define MOD 100000000710 const int INF=0x3f3f3f....
分类:
其他好文 时间:
2015-07-06 11:47:52
阅读次数:
78
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Net;
using System.IO;
using System.Text;...
分类:
其他好文 时间:
2015-07-06 10:11:40
阅读次数:
127
using System;using System.Collections.Generic;using System.Web;using System.Text;using System.Reflection;using System.Collections;using System.Collect...
分类:
Web程序 时间:
2015-07-06 10:07:01
阅读次数:
157
#include#include using namespace std;class Fruit{public: virtual void show()=0;};class Apple:public Fruit{public: void show(){ coutshow()...
分类:
其他好文 时间:
2015-07-06 09:58:03
阅读次数:
105
public bool ValidateUser(account model) { using (assertEntities db = new assertEntities()) { account result = db.account.FirstOrDefault(m => m.name ==...
分类:
Web程序 时间:
2015-07-06 07:47:05
阅读次数:
137
题意:判断这个序列是不是好的,好的要求是在奇数坐标上的数的和等于在偶数坐标上的数的和且这个序列不是回文序列。
水
#include
#include
#define maxn 1000+5
using namespace std;
int n;
int mapp[maxn];
int main()
{
int t;
cin>>t;
while(t--)
{
memset(mapp,...
分类:
其他好文 时间:
2015-07-06 06:44:03
阅读次数:
117