题目链接暴力出来,竟然眼花了以为sg(i) = i啊....看表要认真啊!!!#include
#include #include using namespace std;#define LL __int64int dp[10001];int sg(int
x){ int flag[10001...
分类:
其他好文 时间:
2014-05-09 18:00:34
阅读次数:
274
接着昨天的写,里面的代码包含昨天的 1 #include 2 using namespace
std; 3 #define N 50 4 5 //初始化数组 6 int a[] = {6, 2, 3, 4, 4, 3, 1, 2, 4, 4}; 7
//int a[] = {10,...
分类:
其他好文 时间:
2014-05-09 17:38:03
阅读次数:
379
公用类库代码 常用方法namespace UtilityLibary{ public
interface ILog { int FileSize { get; set; } /// /// 写入log到指定文件 /// ...
分类:
其他好文 时间:
2014-05-09 17:07:24
阅读次数:
431
由于工作原因要熟悉这两门编程语言。网上找的。VB.NETProgram
StructureC#Imports System Namespace Hello Class HelloWorld Overloads Shared
SubMain(ByVal args() As String) Dim na...
分类:
其他好文 时间:
2014-05-09 12:30:02
阅读次数:
475
在使用GridView绑定数据源的时候,遇到了一个问题,因为图简单,没有注意到,贴出错误截图:
找了半天没有找出错误,在网上找了之后,才发现是一个细节引起的错误。后台是这样写的: 1 namespace rowcountdemo 2 { 3 public
partial class Web...
分类:
其他好文 时间:
2014-05-09 12:10:28
阅读次数:
368
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Data.SqlClient;using
System.IO;namespace CindyDatabaseP...
分类:
数据库 时间:
2014-05-09 11:37:48
阅读次数:
378
#include using namespace std;void BubbleSort(int*
a,int n){ for(size_t i=0;i a[j+1]){ int tmp = a[j]; a[j] = a[j+1]; ...
分类:
其他好文 时间:
2014-05-08 21:59:19
阅读次数:
264
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Threading.Tasks;using
System.IO;namespace DirectoryCopy...
分类:
其他好文 时间:
2014-05-08 20:30:59
阅读次数:
381
题意:求最长子序列#include#includeusing namespace std;int
max(int x,int y){ if(x>y) return x; return y;}int map[1001][1001];char
s1[1001],s2[1001];int main(){ ...
分类:
其他好文 时间:
2014-05-07 20:07:29
阅读次数:
202
有时候,我们希望2个属性中,至少有一个是必填,比如: using
Car.Test.Portal.Extension; namespace Car.Test.Portal.Models { public class
Person { public int Id { get; set; } publi...
分类:
Web程序 时间:
2014-05-07 19:38:45
阅读次数:
518