#include#include#include#include using namespace
std;template class joseph{ struct node { T data; node * next; node():next(...
分类:
编程语言 时间:
2014-05-26 13:58:27
阅读次数:
215
#include #include #include using namespace std;int
n;int vis[10000000];int mode1,mode2;struct node{ int step,status;};void
print(int x){ int tmp...
分类:
其他好文 时间:
2014-05-26 13:50:43
阅读次数:
262
同poj2318! 1 //Accepted 220 KB 0 ms 2 #include 3
#include 4 #include 5 using namespace std; 6 const int MAXN = 1005; 7 struct
node 8 {...
分类:
其他好文 时间:
2014-05-26 12:39:06
阅读次数:
242
什么是MVC?简单的说就是将网站源码分类、分层。MVC三个字母的含义:M:Model
模型,负责数据库操作。V:View 视图,负责调用Model调取数据,再调用模板,展示出最终效果。C:Controller
控制器,程序的入口,决定改调用哪个View,并告诉View该做什么。如此说来,程序的执行顺...
分类:
Web程序 时间:
2014-05-26 12:37:26
阅读次数:
315
原文:Learn Node.js Completely and with
Confidence(2013-2-4)翻译:Jaward华仔学习时长:约2周学习前提:JavaScript 知识掌握 5/10要成为 JavaScript
开发者现在是最好的时机了,而且会越来越好。主要是因为 HTML5 的...
分类:
Web程序 时间:
2014-05-26 11:55:51
阅读次数:
305
作者本身也是刚接触nodejs,所以在知识面方面还存在很多漏洞。nodejs下载地址:http://nodejs.org/在Window下面安装的(msi文件),就是纯自动的,选择添加到环境变量和安装路径就ok了。可以打开cmd命令台,通过输入命令
node 进入编译模式,做一些短代码的测试。一般情...
分类:
Web程序 时间:
2014-05-26 11:04:17
阅读次数:
465
qsort直接排序。 1 #include 2 #include 3 #include 4 5
#define MAXNUM 1000 6 7 typedef struct { 8 int index; 9 double statis;10 }
node_st;11 12 ...
分类:
其他好文 时间:
2014-05-26 10:05:44
阅读次数:
229
#include#include#include#include#include#include#includeusing
namespace std;class node{public: int val; node* left; node* right; node():va...
分类:
其他好文 时间:
2014-05-26 09:10:54
阅读次数:
179
Given a linked list, remove the nth node from
the end of list and return its head. For example, Given linked list:
1->2->3->4->5, and n = 2. After rem...
分类:
其他好文 时间:
2014-05-26 09:08:23
阅读次数:
262
#include#include#include#include#include#include#includeusing
namespace std;class node{public: int val; node* left; node* right; node():va...
分类:
其他好文 时间:
2014-05-24 08:57:31
阅读次数:
270