首页 > 2014年07月21日 > 全部分享
【组队赛三】—E Binary Search cf448D
Multiplication Table Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Practice CodeForces 448D Description Bizon the Champion isn't just charming, he al...
分类:其他   时间:2014-07-21 23:28:53    收藏:0  评论:0  赞:0  阅读:382
删除DataGridView选中行并更新数据库
前面写过一篇文章是DataGridView控件显示数据的,DataGridView在与数据库打交道时会经常出现,也很实用。通过DataGridView对数据库进行更改和查询都比较方便。   这里我们需要用DataGridView数据,并通过选中行将数据从数据库中删除。   其原理是把选中记录的主键提取出来,然后传给实体,通过实体给D层传值实现对数据库的修改。   下面是各层代码,供大家参考。...
分类:数据库技术   时间:2014-07-21 22:42:27    收藏:0  评论:0  赞:0  阅读:256
再看《阿甘正传》
?? Life is like a box of chocolates. You never know what you are gonnaget. (人生就像一盒巧克力,你永远不知道自己接下来会遇到什么。)每当我遇到困惑的时候,我总会想起电影《阿甘正传》中阿甘奔跑的每个场景,然后我把自己当成阿甘,开始不断的奔跑。 假期里无事,一日突然想起阿甘,于是我又认真地观看了一...
分类:其他   时间:2014-07-21 22:24:27    收藏:0  评论:0  赞:0  阅读:664
hdu4283You Are the One (区间DP)
Problem Description   The TV shows such as You Are the One has been very popular. In order to meet the need of boys who are still single, TJUT hold the show itself. The show is hold in the Small hall...
分类:其他   时间:2014-07-21 22:36:27    收藏:0  评论:0  赞:0  阅读:339
hdu4848
剪枝暴力搜索。 代码:/****************************************************** * @author:xiefubao *******************************************************/ #pragma comment(linker, "/STACK:102400000,102400000"...
分类:其他   时间:2014-07-21 23:29:10    收藏:0  评论:0  赞:0  阅读:540
wikioi 1052 大顶堆
题目描述 Description     王钢是一名学习成绩优异的学生,在平时的学习中,他总能利用一切时间认真高效地学习,他不但学习刻苦,而且善于经常总结、完善自己的学习方法,所以他总能在每次考试中得到优异的分数,这一切很大程度上是由于他是一个追求效率的人。     但王钢也是一个喜欢玩的人,平时在学校学习他努力克制自己玩,可在星期天他却会抽一定的时间让自己玩一下,他的爸爸妈妈...
分类:其他   时间:2014-07-21 23:28:02    收藏:0  评论:0  赞:0  阅读:404
数据挖掘之clara算法原理及实例(代码中有bug)
本文讲解了大数据聚类算法中的一种clara.并通过matalb实例代码实现验证算法...
分类:其他   时间:2014-07-21 22:28:27    收藏:0  评论:0  赞:0  阅读:402
framework启动流程之android应用程序
转载请注明出处: Linux启动流程大体分三歩:1、开机启动bootloader。2、操作系统内核初始化。3、执行第一个应用程序。 1、开机就是给硬件设备上电,在上电过程中cpu的作用是执行执行,故而,只有其他硬件设备初始化ok,cpu执行指令才有意义,故而cpu最后上电。       cpu复位完毕就开始执行固定内存的程序指令,此时的执行所在的程序称作“bootloader”引导程序。...
分类:移动平台   时间:2014-07-21 22:42:27    收藏:0  评论:0  赞:0  阅读:319
The current deployment target does not support automated __weak references
下载运行一个demo时出现“The current deployment target does not support automated __weak references”这个问题,找了下方法: 4.2以前版本的XCode都不支持ARC。 对操作系统也有要求:Mac OS X v10.6 或 v10.7 (64-bit applications), iOS4或iOS5。注意:其中...
分类:其他   时间:2014-07-21 23:28:50    收藏:0  评论:0  赞:0  阅读:421
poj1651Multiplication Puzzle(取数,区间DP)
Description The multiplication puzzle is played with a row of cards, each containing a single positive integer. During the move player takes one card out of the row and scores the number of points ...
分类:其他   时间:2014-07-21 22:11:18    收藏:0  评论:0  赞:0  阅读:413
ASP.NET MVC 视图(二)
上篇中对于视图引擎只是做了简单的演示,对于真正的理解视图引擎的工作过程可能还有点模糊,本篇将会对由MVC框架提供给我们的Razor视图引擎的整个执行过程做一个粗略的讲解,目的在于让大家对Razor视图引擎的执行过程留个印象以便联想的思考到视图引擎的作用以及视图在MVC框架中的表示。...
分类:Web开发   时间:2014-07-21 22:15:18    收藏:0  评论:0  赞:0  阅读:307
poj3186Treats for the Cows(区间DP)
Description FJ has purchased N (1 The treats are interesting for many reasons: The treats are numbered 1..N and stored sequentially in single file in a long box that is open at both ends. On...
分类:其他   时间:2014-07-21 22:18:18    收藏:0  评论:0  赞:0  阅读:333
makefile中的一点知识
makefile文件中下面这一部分展开是什么样的呢?。。。mytarget=foo $(mytarget): $(mytarget).c        gcc -o $(mytarget) $(mytarget).cmytarget=bar。。。展开是:。。。mytarget=foofoo: foo.c        gcc -o bar bar.cmytarget=bar。。。...
分类:其他   时间:2014-07-21 22:26:18    收藏:0  评论:0  赞:0  阅读:201
Bomb
求1-x中出现连续的49的数有多少个(注意要用long long)...
分类:其他   时间:2014-07-21 22:48:18    收藏:0  评论:0  赞:0  阅读:284
POJ3185 The Water Bowls 反转(开关)
Description The cows have a line of 20 water bowls from which they drink. The bowls can be either right-side-up (properly oriented to serve refreshing cool water) or upside-down (a position which h...
分类:其他   时间:2014-07-21 22:32:18    收藏:0  评论:0  赞:0  阅读:404
poj3041 Asteroids --- 最小点覆盖
#include #include #include #include #include #include #include const int maxn=510; using namespace std; int my[maxn],mx[maxn],vis[maxn],e[maxn][maxn],n; int path(int i) { int j; for(j=1;j<=n...
分类:其他   时间:2014-07-21 23:29:12    收藏:0  评论:0  赞:0  阅读:385
不要62
求出a到b之间 1)不含有连续的62 2)不含有4 的数的个数...
分类:其他   时间:2014-07-21 22:36:18    收藏:0  评论:0  赞:0  阅读:252
Floodlight Controller 路由原理
SDN的出现可以使得各种复杂的路由协议从原本的Device OS中剥离出来,放在SDN Controller中,Controller用一种简单的协议来和所有的Router进行通信,就可以获得网络拓扑,从而计算路由,有更好的可扩展性(scalable,而不会出现Full-Mesh)。Floodlight 中路由的原理利用的是LLDP这个协议,当第一个OF SW连接过来的时候,Controller...
分类:其他   时间:2014-07-21 22:47:18    收藏:0  评论:0  赞:0  阅读:620
笨鸟学php(二) 如何使用变量
一. 变量的声明 1. php中声明变量的方法:  $var = 123; 2. php是弱类型的语言, 变量的类型由存储的值决定     注: Java是强类型语言, 声明变量一定要先制定类型 3. isset() 和 unset()     isset() : 判断值是否存在;    unset() : 去掉变量的值 <?php $a = $b = $c = $d = "hel...
分类:Web开发   时间:2014-07-21 23:28:53    收藏:0  评论:0  赞:0  阅读:408
2014年最流行的10种程序语言
2014年最流行的10种程序语言 排名前十位最流行的程序语言依次分别是:Java,C,C++,C#,Python,Java script,Php,Ruby,Sql,Matlab。...
分类:其他   时间:2014-07-21 23:29:10    收藏:0  评论:0  赞:0  阅读:389
1617条   上一页 1 ... 6 7 8 9 10 ... 81 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!