码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
poj 3630 Phone List
1 #include 2 #include 3 #include 4 #define N 100005 5 using namespace std; 6 int Trie[N][10]; 7 int nodeN; 8 int main() 9 {10 int t, n, i, j, isPref.....
分类:其他好文   时间:2014-06-09 20:21:04    阅读次数:219
Codeforces Round #251 (Div. 2) C. Devu and Partitioning of the Array
注意p的边界情况,p为0,或者 p为k奇数+偶数 = 奇数奇数+奇数 = 偶数#include #include #include #include #include using namespace std;int main(){ int n,k,p; long a; cin >>...
分类:其他好文   时间:2014-06-09 20:20:23    阅读次数:243
使用FluentValidation来进行数据有效性验证
之前我介绍过了使用系统自带的Data Annotations来进行数据有效性验证,今天在CodePlex上逛的时候,发现了一个非常简洁好用的库:FluentValidation由于非常简洁,就直接拿官网的例子演示了: using FluentValidation; public clas...
分类:其他好文   时间:2014-06-09 20:19:38    阅读次数:143
static2014年6月9日09:27:29
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace Static再谈.....
分类:其他好文   时间:2014-06-09 19:24:42    阅读次数:162
namespace6月9日10:26:28
命名空间:用于解决类重名的问题,可以看做“类的文件夹”。【1】在代码中使用其他命名空间下的类时候需要using类所在的namespace。 System.Collections.ArrayList,快速引入的方法,右键→解析(Ctrl+.)。“System.Collections”是命名空间(c.....
分类:其他好文   时间:2014-06-09 18:50:24    阅读次数:212
WPF combobox
先写一个数据类Grade.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Collections...
分类:其他好文   时间:2014-06-09 18:45:56    阅读次数:176
PagedList.MVC分页
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;namespace PagedList.MVCWeb.Controllers{ publi...
分类:Web程序   时间:2014-06-09 18:30:04    阅读次数:280
静态类2014年6月9日10:02:28
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace 静态类密闭类 7 { 8 class Program 9 {10...
分类:其他好文   时间:2014-06-09 18:17:44    阅读次数:145
Web2py也有意思的
多学学,以后可以方便的自己写代码了。对于各种WEB框架,这也是打一个基础的时候。相信学入门了,对PHP的,JAVA的WEB框架,都是能理解更深入的。def index(): """ example action using the internationalization operato...
分类:Web程序   时间:2014-06-09 18:06:43    阅读次数:242
逆序单链表
#include using namespace std;struct Node{ Node *next; int elem;};void creatList(Node* &head){ head = new Node; int elem; cin>>elem; ...
分类:其他好文   时间:2014-06-09 17:50:43    阅读次数:219
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!