码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
Codeforces Round #244 (Div. 2) B. Prison Transfer
题目是选出c个连续的囚犯,而且囚犯的级别不能大于t#include using namespace std;int main(){ int n,t,c; cin >> n >> t >> c; int a,cnt = 0, res =0;; for(int i = 0 ; i...
分类:其他好文   时间:2014-05-04 12:14:55    阅读次数:340
Codeforces Round #244 (Div. 2) A. Police Recruits
题目的意思就是找出未能及时处理的犯罪数,#include using namespace std;int main(){ int n; cin >> n; int a,recruit = 0, crimes = 0;; for(int i = 0 ; i > a; ...
分类:其他好文   时间:2014-05-04 11:54:32    阅读次数:274
MVC分页
using System.Collections.Generic;using System.Collections.Specialized;using System.Linq;using System.Web;using System.Text;using System.Web.Mvc;using ...
分类:Web程序   时间:2014-05-03 23:02:35    阅读次数:492
MVC的Ajax异步请求
@using (Ajax.BeginForm("GetTime","order",new AjaxOptions() { Confirm="你确认这么做吗?", HttpMethod="post", ...
分类:Web程序   时间:2014-05-03 22:50:30    阅读次数:344
POJ 1741 - Tree
LTC男人八题系列,测试数据之强真不是盖的。题目大意是在树上找出所有满足长度 2 #include 3 using namespace std; 4 5 6 #define FOR(p,i,s,t) for(__typeof(p) i=s; it, Vs[eptr].l = this...
分类:其他好文   时间:2014-05-03 22:47:34    阅读次数:419
《C#图解教程》读书笔记之六:接口和转换
一、接口那点事儿 (1)什么是接口? 一组函数成员而未实现的引用类型。只有类和结构能实现接口。 (2)从IComparable接口看接口实例: 假设有如下一段代码,它使用Array类的一个静态方法Sort对一个未排序的int类型数组进行排序,并输出排序后的结果。using System;cl...
分类:其他好文   时间:2014-05-03 22:20:59    阅读次数:462
Asp.NET MVC3 使用 SignalR 实现推送(接上)
一,Persistent Connection 示例教程 1,实现服务器端代码 1),编写服务器 PersistentConnection 代码 项目中 SignalR 目录下创建 PersistentConnection.cs 文件 using System; using System.Collections.Generic; using System.T...
分类:Web程序   时间:2014-05-03 22:03:28    阅读次数:349
UVA 1372 - Log Jumping(推理)
题目链接:1372 - Log Jumping 题意:给定一些n个木板的起始位置和长度k,相重叠的木板可以互相跳跃,求能构成环的最大数量。 思路:先按起始位置排序,然后每次多一个木板就去判断他和前一个和前前一个能不能互相跳跃,如果可以的话就可以多加上这个木板。 代码: #include #include #include using namespace std; #define ma...
分类:其他好文   时间:2014-05-03 21:44:03    阅读次数:247
经典白话算法之快速排序
【分析】 【伪代码】 【运行过程】 【代码】 /********************************* * 日期:2014-04-01 * 作者:SJF0115 * 题目:快速排序 **********************************/ #include #include using namespace...
分类:其他好文   时间:2014-05-03 21:17:50    阅读次数:476
【Tomcat】严重: Context [/grouponAdminWeb] startup failed due to previous errors
1 tomcat 6600启动报错[root@localhost webapps]#     sh /usr/local/apache-tomcat-6.0.37_6600/bin/startup.sh Using CATALINA_BASE:   /usr/local/apache-tomcat-6.0.37_6600Using CATALINA_HOME:   /usr/local/apach...
分类:Web程序   时间:2014-05-03 20:52:53    阅读次数:571
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!