//// main.cpp// circleQueue//// Created by zhou on 14-6-19.// Copyright (c) 2014年 zhou. All rights reserved.//#define Max 50typedef struct ...
分类:
其他好文 时间:
2014-06-28 18:54:47
阅读次数:
171
题目链接题意 : 用矩阵相乘求斐波那契数的后四位。思路 :基本上纯矩阵快速幂。 1 //3070 2 #include 3 #include 4 #include 5 6 using namespace std; 7 8 struct Matrix 9 {10 int v[2][2...
分类:
其他好文 时间:
2014-06-28 17:48:14
阅读次数:
214
例子:struct context { uint edi; uint esi; uint ebx; uint ebp; uint eip;}; ...p->context = (struct context*)sp;p->context->eip = (uint)forkret;结构体成...
分类:
编程语言 时间:
2014-06-28 17:26:51
阅读次数:
172
经典搜索 1 #include 2 #include 3 using namespace std; 4 5 const int MAX=10; 6 7 int step[MAX][MAX]; 8 char maze[MAX][MAX]; 9 int n,m,t;10 struct {11 ...
分类:
其他好文 时间:
2014-06-21 07:12:00
阅读次数:
218
基础数据结构: struct A { int a; int b; int c; int d; int e; int f; int g; };初始化次数:const int MAX_L...
分类:
其他好文 时间:
2014-06-21 00:17:14
阅读次数:
166
#include #define NUMBER 6#define F_PATH "D:\\C_C++\\ec13-3\\hw.dat"typedef struct { char name[20]; int height; float weight;} student;void swap(studen...
分类:
编程语言 时间:
2014-06-21 00:08:26
阅读次数:
321
static struct mtd_partition smdk_default_nand_part[] = {[0] = { .name = "Boot", .size = 0x00100000, ....
分类:
其他好文 时间:
2014-06-20 16:47:10
阅读次数:
156
母函数简单题 1 #include 2 #include 3 using namespace std; 4 5 const int MAX=130000; 6 int c1[MAX],c2[MAX]; 7 8 struct { 9 int val,num;10 }thing[55];...
分类:
其他好文 时间:
2014-06-20 16:07:13
阅读次数:
164
#include #include #includeusing namespace std;struct Node { double coef; int expn; Node *next;};void CreatPolynomial(Node *&head, int n) ...
分类:
其他好文 时间:
2014-06-20 14:17:26
阅读次数:
285
1 #include 2 #include 3 using namespace std; 4 5 const int MAX=13; 6 7 char maze[MAX][MAX][MAX]; 8 9 struct {10 int i,j,k;11 }beg,des,que[11...
分类:
其他好文 时间:
2014-06-20 14:04:37
阅读次数:
141