码迷,mamicode.com
首页 > 其他好文
1.3.2Barn Repair
/*ID: awsd1231PROG: barn1LANG: C++*/#include#include#includeusing namespace std;int M, S, C, inC[300] = {0}, diffC[300] = {0};int main() { freopen("ba...
分类:其他好文   时间:2015-05-31 13:53:46    阅读次数:117
1.3.1Mixing Milk
/*ID: awsd1231PROG: milkLANG: C++*/#include#include#include#includeusing namespace std;const int maxn =5000 + 10;int n, m;struct Pa { int p; int pa;};...
分类:其他好文   时间:2015-05-31 13:55:47    阅读次数:97
1.2.5Dual Palindromes
/*ID: awsd1231PROG: dualpalLANG: C++*/#include#include#include#includeusing namespace std;const int maxn = 33;int n, s;char mayPal[maxn] = {0};bool is...
分类:其他好文   时间:2015-05-31 13:55:04    阅读次数:66
1.1.2Greedy Gift Givers
/*ID: awsd1231PROG: gift1LANG: C++*/#include#include#include#includeusingnamespace std;map nameMoney;string sname[10];int main(){ freopen("gift1.in","...
分类:其他好文   时间:2015-05-31 13:54:36    阅读次数:72
Xamarin for Visual Studio 3.11.584 Beta Cracked 破解补丁
注意:本版本是 Beta 版Release Log:简略、 详细下载地址:Xamarin.VisualStudio_3.11.584.msi(官网)、 度盘。全新安装请参照“安装 Xamarin for Visual Studio”关于Stable 版?主要是我自己要用到AppCompat,最新的稳...
分类:其他好文   时间:2015-05-31 13:52:57    阅读次数:108
索引列上的统计 <第一篇>
一、索引在查询优化中的角色 SQL Server的查询优化器是基于开销的优化器、它通过确认选择性、数据的唯一性以及过滤数据(通过WHERE或JOIN子句)所使用的列来决定最佳的数据访问机制。统计与索引一同存在,但是它们也作为断言的一部分存在于没有索引的列上。 作为谓词引用的列中数据分布的最新信...
分类:其他好文   时间:2015-05-31 13:52:53    阅读次数:122
人生到底该何去何从?我们的人生怎样才能不迷茫
看到 Walle 所描述的自己的处境(决定:现公司准备另谋出路,还是往前坑里再走一步),不知道自己该怎么走,心里有感,想要把自己的想法表达出来。这样的心态,我也有过,甚至现在也忽隐忽现,凡是什么都是一个过程,过程是痛苦的。我想的是一定很多人也有我们这样的处境。矛盾的状态,经历了就成长了。这样的人生环...
分类:其他好文   时间:2015-05-31 13:51:53    阅读次数:99
1.1.3Friday the Thirteenth
/*ID: awsd1231PROG: fridayLANG: C++*/#include#includeusingnamespace std;constint monthDay[12]={31,0,31,30,31,30,31,31,30,31,30,31};int main(){ freopen...
分类:其他好文   时间:2015-05-31 13:53:39    阅读次数:93
IE6、7下块级元素设置display:inline-block不换行的解决办法
使用背景在实际的工作中,我们有的时候会把块元素设置为inline-block,这样做的目的有2个,一是块元素能够排列到一行,二是块元素就形成包裹性,能够自适应content area,而不必设置宽和高(依实际情况而定),在现在浏览器中没有什么问题,但是IE6、7下,当把block元素设置成inlin...
分类:其他好文   时间:2015-05-31 13:52:00    阅读次数:757
1.1.4Broken Necklace
/*ID: awsd1231PROG: beadsLANG: C++*/#include#includeusingnamespace std;char necklace[500][2]={0};int num[500]={0};int n;void clearNec(){for(int i =0; ...
分类:其他好文   时间:2015-05-31 13:53:12    阅读次数:102
给大家分享一个比较简单的效果,点击表格每一行变色的几种方法。。。
代码一:function choose(type,color){ var lastindex=-1; var thistype=document.getElementsByTagName(type); for(var i=0;i<th...
分类:其他好文   时间:2015-05-31 13:51:01    阅读次数:127
写给程序员的职业生涯规划
程序员-系统分析员-架构师-技术经理 -CTO(首席技术官,Chief Technology Officer)程序员-项目组长-项目经理-项目总监-CTO程序员-产品设计师-产品经理-CTO
分类:其他好文   时间:2015-05-31 13:49:25    阅读次数:167
1.2.2Transformations
/*ID: awsd1231PROG: transformLANG: C++*/#include#includeusing namespace std;char square[15][15], afterSquare[15][15], tmpSquare[15][15];int n;bool num...
分类:其他好文   时间:2015-05-31 13:51:33    阅读次数:98
性能优化
随着学习的深入,我们开始对Web前端这个职业的了解越来越多,以前只知道上网,看到五花八门的页面,各种炫酷的效果,却不知道这些炫酷的页面和效果是怎样做出来的,学习了三个月的前端,知道了很多效果和页面的制作,但还远远不够.课堂上老师提出的问题,我们不能快速并正确的说出答案,这起到了很好的警醒作用,让我们...
分类:其他好文   时间:2015-05-31 13:50:49    阅读次数:85
1.5.1 Number Triangles
/*ID: awsd1231PROG: numtriLANG: C++*/#include#includeusing namespace std;int a[1001], b[1001];int* x = a, *y = b, *t;int n;int ans(int* x, int n) { in...
分类:其他好文   时间:2015-05-31 13:49:49    阅读次数:82
[Objective-C]__bridge,__bridge_retained和__bridge_transfer的意思,区别与使用
使用ARC能帮我们减轻不少内存管理方面的负担,尤其是对用惯了Java的程序员来说。但是像我这种Java基础本身就不牢固,做了两年的iOS已经习惯手动管理内存的半吊子,使用ARC还是经常碰壁。最近碰到了CFObject和NSObject转换的问题,由于ARC不能管理Core Foundation Ob...
分类:其他好文   时间:2015-05-31 13:48:42    阅读次数:93
Hadoop:pig 安装及入门示例
分类:其他好文   时间:2015-05-31 13:51:06    阅读次数:145
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!