【6.5】 1 #include 2 3 using namespace std; 4
#define MAXN 100 5 #define N 4 6 #define M 4 7 int x,y,num; 8 int a[MAXN][MAXN]
= { 9 {0,2,3,4},10 ...
分类:
其他好文 时间:
2014-05-23 03:06:42
阅读次数:
275
#include#includeusing namespace std;int main(){int
n,i,j,a[100],u,max,b[100],m,s[100],min;cout>n>>m;for(j=1;j>a[i];s[j]=s[j]+a[i];}max=a[1];for(i=2;im...
分类:
其他好文 时间:
2014-05-23 02:57:23
阅读次数:
267
#includeusing namespace std;int main(){int
n,m,i,j,k,o,u,p,a[100][100],x[100][100],max[100][100][20],b[100][100];cout>n>>m;cout>a[i][j];}}for(k=1;k=ma...
分类:
其他好文 时间:
2014-05-23 02:51:18
阅读次数:
227
#includeusing namespace std;int main(){int
n,m,i,j,x[100],a[100],p;cout>n>>m;for(i=1;in){j=(x[i-1]+1)%n;}else{j=x[i-1]+1;}p=1;do{if(a[j]!=0){j++;if(j>...
分类:
其他好文 时间:
2014-05-23 02:47:17
阅读次数:
211
using System;using System.Collections.Generic;using
System.Linq;using System.Text;namespace 抽象工厂{ class Program { static void
Main(string...
分类:
其他好文 时间:
2014-05-22 16:29:48
阅读次数:
230
using System;using System.Collections.Generic;using
System.Text;using System.Linq;namespace LinQ{ class Program { static void
Main(string...
分类:
其他好文 时间:
2014-05-22 16:27:07
阅读次数:
241
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Threading.Tasks;namespace Lambda表达式{
class Program ...
分类:
其他好文 时间:
2014-05-22 16:16:25
阅读次数:
292
using System;using
System.Collections.Generic;using System.Linq;using System.Web;using
System.Web.Mvc;namespace 过滤器.Filtes{ /// /// 授权过滤器,在Acti...
分类:
Web程序 时间:
2014-05-22 16:12:14
阅读次数:
371
using System;using System.Collections.Generic;using
System.Linq;using System.Text;/* * 单例模式 * 保证对象的唯一性 */namespace SingleDemo{ class
Program { ...
分类:
其他好文 时间:
2014-05-22 16:10:25
阅读次数:
222
using System;using
System.Collections.Generic;using System.Linq;using System.Web;using
System.Web.Mvc;namespace 过滤器.Filtes{ /// /// 全局异常过滤器 ...
分类:
Web程序 时间:
2014-05-22 13:54:14
阅读次数:
342