首页 > 其他
求m行n列个方格的正方形总数
一个小算法
分类:其他   时间:2015-01-29 13:58:33    收藏:0  评论:0  赞:0  阅读:359
hdu 2082 母函数
#include#include#includeusing namespace std;const int N=50;int c1[N+10],c2[N+10],num[30];int main(){ //freopen("read.txt","r",stdin); int t; scanf("%d...
分类:其他   时间:2015-01-29 13:58:23    收藏:0  评论:0  赞:0  阅读:272
《软件工程概论》第二章 软件过程
软件开发的任务思维模式:用户需求—>过程—>产品软件过程的定义:软件过程是软件工程人员为了获得软件产品而在软件工具的支持下实施的一系列软件工程活动。软件过程的基本活动:问题提出软件需求规格说明软件设计软件实现软件确认软件演化软件过程制品:软件过程制品涉及软件需求、软件设计、软件实现、软件测试和软件实...
分类:其他   时间:2015-01-29 13:58:03    收藏:0  评论:0  赞:0  阅读:232
hdu 1171 母函数
#include #include #include #define MAX 250010 //注意得开大点int c1[MAX], c2[MAX];int num[55], val[55];int main(){ int n; while( scanf("%d", &n)!=EOF && n>0)...
分类:其他   时间:2015-01-29 13:57:53    收藏:0  评论:0  赞:0  阅读:292
牛顿插值求解多项式
#include using namespace std;//牛顿插值求解多项式double * xs; //all input xdouble * ys; //all input yint n; //size//1 2 3 4//0 -5 -6 3//1.5//-2.625void init(){...
分类:其他   时间:2015-01-29 13:57:33    收藏:0  评论:0  赞:0  阅读:331
[LeetCode#117]Populating Next Right Pointers in Each Node II
The problem:Follow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any binary tree? Would your previous s...
分类:其他   时间:2015-01-29 13:57:23    收藏:0  评论:0  赞:0  阅读:312
poj 1163 查找最大结点
#include #include using namespace std;void print_value(int a[][110],int N){ for(int row=1; row>a[row][line];}int main(){ int N; cin>>N; int value[110]...
分类:其他   时间:2015-01-29 13:56:43    收藏:0  评论:0  赞:0  阅读:245
break跳出多重循环
大家都知道break只能跳出当前的一个循环语句,如果碰到要跳出多个循环体,那么我们就该在循环体开头设置一个标志位,然后使用带此标志位的break语句跳出多重循环1 jump:2 for(int i=0;i<10;i++){3 for(int j=0;j<5;j++){...
分类:其他   时间:2015-01-29 13:56:23    收藏:0  评论:0  赞:0  阅读:322
ssh整合dwr,推送数据
1.web.xml中添加如下代码: <!--?配置DWR前端控制器?--> ????<servlet> ????????<servlet-name>dwrServlet</servlet-name> ????????<servlet-class>org.directwebremoting.servlet.DwrSer...
分类:其他   时间:2015-01-29 12:52:43    收藏:0  评论:0  赞:0  阅读:346
80X86寄存器详解
引子 打算写几篇稍近底层或者说是基础的博文,浅要介绍或者说是回顾一些基础知识, 自然,还是得从最基础的开始,那就从汇编语言开刀吧, 从汇编语言开刀的话,我们必须还先要了解一些其他东西, 像? CPU ,内存...
分类:其他   时间:2015-01-29 12:52:03    收藏:0  评论:0  赞:0  阅读:217
tengine+tomcat 安装配置笔记
以前一直用glassfish, 从3到4, 省事倒是省事,就是太重了,图形界面配置过程中对cpu和内存的消耗较大,常遇到卡死的情况,虽然配置完成后,运行稳定,但还是决定放弃,改用tengine+tomcat。 下载地址:http://...
分类:其他   时间:2015-01-29 12:51:53    收藏:0  评论:0  赞:0  阅读:325
OpenSCAD使用总结-中文
OpenSCAD是用程序的方式生成模型,搞软件的人应该很熟悉这种方式,但习惯交互式造型设计的就不用看这个了。创建模型的方法就像是用脚本语言编写一段程序,然后编译,总体感觉简单、便捷、易学,教程完善,安装...
分类:其他   时间:2015-01-29 12:51:43    收藏:0  评论:0  赞:0  阅读:1859
第九章 基本SCTP套接字编程
SCTP有一到一、一到多两种模式。具体定义可以看RFC 2960,我使用的是电子版的书看的,虽然有纸制的, 但是用着不方便,电子版本来是图片那种,我用Adobe Acrobat Pro转成文字的了,但是好像出现了...
分类:其他   时间:2015-01-29 12:51:03    收藏:0  评论:0  赞:0  阅读:238
opencv矩阵赋值函数copyTo、clone、重载元算赋=的比较
opencv矩阵赋值函数copyTo、clone、重载元算赋‘=’之间实现的功能相似均是给不同的矩阵赋值功能。copyTo和clone函数基本相同,被赋值的矩阵和赋值矩阵之间空间独立,不共享同一空间。但是重载元算赋‘=’,被赋值的矩阵和赋值矩阵之间空间共享,改变任一个矩阵的值,会同时影响到另一个矩阵。当矩阵作为函数的返回值时其功能和重载元算赋‘=’相同,赋值运算赋会给矩阵空间增加一次计数,所以函数...
分类:其他   时间:2015-01-29 12:50:03    收藏:0  评论:0  赞:3  阅读:12697
SDJZU_新生_背包_HDU 2602 Bone Collector
Bone Collector Crawling in process... Crawling failed Time Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64u Description Many years ago , in Teddy’s hometown ...
分类:其他   时间:2015-01-29 12:49:43    收藏:0  评论:0  赞:0  阅读:246
contextual action mode
在Google的开发文档的guide的menu里面,提到上下文菜单的两种形式。 There are two ways to provide contextual actions: In a floating context menu. A menu appears as a floating list of menu items (similar to a dialog...
分类:其他   时间:2015-01-29 12:49:33    收藏:0  评论:0  赞:0  阅读:398
从“用友软件”到“用友网络”,看传统软件企业的互联网转型
用友软件近日发布公告,宣布公司名称由“用友软件股份有限公司”变更为“用友网络科技股份有限公司”。公司证券简称自2015年1月30日起由“用友软件”变更为“用友网络”, 业内人士称,此次更名标志着用友正去“软件化”,向互联网化全速转型,也标志着传统中国软件企业互联网转型不可逆转。        所谓的传统企业,不但包括制造业、零售业,同样包含传统的软件企业。何谓传统软件企业?即以软件开发、系统...
分类:其他   时间:2015-01-29 12:49:23    收藏:0  评论:0  赞:0  阅读:275
leetcode.9---------------Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers. Some hints: Could negative integers be palindromes? (ie, -1) If you are thinking of convert...
分类:其他   时间:2015-01-29 12:49:03    收藏:0  评论:0  赞:0  阅读:271
poj-3286 Silver Cow Party
题目链接:http://poj.org/problem?id=3268 求牛参加聚会的往返最长的路径是多少。往返的时候翻转矩阵,再计算一次,两次求和。 #include #include #include #include #include using namespace std; const int MAXV = 4010; const int inf = 10000000; ...
分类:其他   时间:2015-01-29 12:48:43    收藏:0  评论:0  赞:0  阅读:250
在iphone程序中打开word、execl、pdf等文档
方法一: 用UIWebView就可以了 -(void)loadDocument:(NSString*)documentName inView:(UIWebView*)webView {     NSString *path = [[NSBundle mainBundle] pathForResource:documentName ofType:nil];     NSURL *url =...
分类:其他   时间:2015-01-29 12:48:23    收藏:0  评论:0  赞:0  阅读:304
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!