码迷,mamicode.com
首页 >  
搜索关键字:HERE    ( 6715个结果
USACO1.1--Your Ride Is Here +水题
完全是一道水题,主要是熟悉了一下USACO的文件操作。 话说这也是这个学期的第一道题,希望这次自己能完完全全的实行好计划,能够好好的坚持下去,否则的话恐怕真的是前途堪忧了。。。。。 加油!!!代码如下:/* ID: 15674811 LANG: C++ TASK: ride */ #include #include #include usi...
分类:其他好文   时间:2015-03-03 22:08:54    阅读次数:195
LA 3942(Remember the Word-Trie)[Template:Trie]
3942 - Remember the Word Time limit: 3.000 seconds  Neal is very curious about combinatorial problems, and now here comes a problem about words. Knowing that Ray has a photographic memory an...
分类:其他好文   时间:2015-03-03 18:34:40    阅读次数:151
NYOJ 374 弹球II
链接:click here 题意: 游戏厅里有一种很常见的游戏机,里面有很多根管子有规律地排成许多行。小球从最上面掉下去,碰到管子会等概率地往管子左边或者右边的空隙掉下去。不过在最靠边的小球只会往一边掉(如图,灰色小球只可能掉到右边空隙)。现在已知共2* n - 1行管子,第i行有Ai个管子,如果i是奇数,那么Ai等于m,如果i是偶数,Ai等于m- 1。小球从第1行第k个管子右边掉...
分类:其他好文   时间:2015-03-02 21:02:14    阅读次数:237
最大子矩阵求和 NYOJ 104 && 372 && HDU 1081
链接:click here 给定一个由整数组成二维矩阵(r*c),现在需要找出它的一个子矩阵,使得这个子矩阵内的所有元素之和最大,并把这个子矩阵称为最大子矩阵。  例子: 0 -2 -7 0  9 2 -6 2  -4 1 -4 1  -1 8 0 -2  其最大子矩阵为: 9 2  -4 1  -1 8  其元素总和为15。  输入...
分类:其他好文   时间:2015-03-02 21:01:24    阅读次数:153
求职莫畏难 let's start from here
万事开头难。读大学的时候,觉得自己还算是一个文艺小青年,偶尔写一写歌,记一记日志。工作后好像就未动笔过,如今想写几句都需抓心挠腮,这篇日志大致就是这样写完的。先介绍下自己,我叫林林,是一名男程序猿,辽宁大连人,至今单身。13年毕业后于沈阳工作至今,目前有去北上广深的打算,想从事android开发相关...
分类:其他好文   时间:2015-02-28 22:53:00    阅读次数:171
linux memory release commands内存清理/释放命令
linux 内存清理/释放命令You could find reference from here:http://jingyan.baidu.com/article/597a06436a687f312b5243f3.htmlBasically it looks like this:---------...
分类:系统相关   时间:2015-02-28 21:35:27    阅读次数:145
啊哈!算法 学习2 排序 - 快速排序 2分发排序
#import int a[101],n;void quickSort(int left,int right);int main(int argc, const char * argv[]) { @autoreleasepool { // insert code here... ...
分类:编程语言   时间:2015-02-28 18:31:15    阅读次数:179
【策略】UVa 1344 - Tian Ji -- The Horse Racing(田忌赛马)
Here is a famous story in Chinese history.That was about 2300 years ago. General Tian Ji was a high official in the country Qi. He likes to play horse...
分类:其他好文   时间:2015-02-28 18:23:55    阅读次数:209
QCheckBox 的按钮响应
Qt中QCheckBox的按键响应如下,其中checkbox为对象名:void YourClass::on_checkbox_toggled(bool state) { // Do something here}
分类:其他好文   时间:2015-02-28 07:49:14    阅读次数:236
infoq - neo4j graph db
My name is Charles Humble and I am here at QCon New York 2014 with Ian Robinson. Ian, can you introduce yourself to the InfoQ community?Hello, I am Ia...
分类:数据库   时间:2015-02-28 00:12:03    阅读次数:197
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!