码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
庞果网之高斯公式
【题目】题目详情高斯在上小学时发明了等差数列求和公式:1+2+..+100=5050。如今问题在于给你一个正整数n,问你他能够表示为多少种连续正整数之和?(自身也算)。输入格式:多组数据,每组数据一行,一个正整数n。 0#include using namespace std;int main(){...
分类:其他好文   时间:2014-06-09 22:06:08    阅读次数:327
C语言随笔记(二)厉害的宏
比最牛逼的FOPEN宏更牛逼的USING_FILE宏#defineUSING_FILE(file,path,type,code)\{\FILE*##file;\if(NULL==(##file=fopen(path,type)))\{\fputs("内存不足程序退出中",stderr);\exit(...
分类:编程语言   时间:2014-06-09 22:01:39    阅读次数:368
Kinect数据流录制--ColorStream
一般使用Kinect进行数据录制彩色图像的话,有多种选择:直接存为二进制流,存图片或者是存视频等。下面主要介绍这几种方法的实现:一、存二进制流 1 using Microsoft.Kinect; 2 using System.IO; 3 class ColorStreamBinaryRecorder...
分类:其他好文   时间:2014-06-09 21:25:26    阅读次数:356
用python语言讲解数据结构与算法总述(一)
关于数据结构与算法讲解的书籍很多,但是用python语言去实现的不是很多,最近有幸看到一本这样的书籍,由Brad Miller and David Ranum编写的《Problem Solving with Algorithms and Data Structures Using Python》.....
分类:编程语言   时间:2014-06-09 16:16:53    阅读次数:276
c#换ip代理源码
很多朋友都想如何提高自己的网站流量,可是都没有什么好的办法经过很长时间的研究,在C#中实现了,当然了,这部分代码其中一部分是网上的,不是原创。using System;using System.Drawing;using System.Collections;using System.Compone...
分类:其他好文   时间:2014-06-08 20:40:20    阅读次数:414
小型Basic编译器问题
# include # include # include # include # include //使用map解决一对一 的关系using namespace std;map mapdata;//数据存储typedef struct node{ long num; char ch1[20]; c...
分类:其他好文   时间:2014-06-08 20:26:01    阅读次数:235
zoj 1454 Employment Planning
【题解】:【代码】: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #define LL long long 7 using namespace std; 8 LL dp[15][100005]; 9 LL N,h,uh,...
分类:其他好文   时间:2014-06-08 20:08:41    阅读次数:261
MVC4做网站后台:模块管理1、修改模块信息
网站可能会包含一些模块:像文章、产品、图片、留言等。栏目模块主要实现功能,启用或禁用模块,模块权限设置,模块上传设置等。权限设置和上传设置以后专门考虑,先来显示或禁用模块。1、在顶部导航栏添加管理连接打开Home/Header.cshtml,在添加代码2、添加Module接口using Ninesk...
分类:Web程序   时间:2014-06-08 19:39:25    阅读次数:382
MVC日期格式化的2种方式
原文:MVC日期格式化的2种方式假设有这样的一个类,包含DateTime类型属性,在编辑的时候,如何使JoinTime显示成我们期望的格式呢? using System;using System.ComponentModel.DataAnnotations;namespace MvcApplicat...
分类:Web程序   时间:2014-06-08 19:25:48    阅读次数:307
poj3126
被坑了3个小时,本来以为算法错了,谁知道,竟然是素数筛弄错了!!!#include #include #include #include #include using namespace std;int a[10001];int v[10001];int n,m;struct node{ int.....
分类:其他好文   时间:2014-06-08 18:56:44    阅读次数:259
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!