码迷,mamicode.com
首页 >  
搜索关键字:count    ( 18169个结果
F - Count the Colors - zoj 1610(区间覆盖)
有一块很长的画布,现在想在这块画布上画一些颜色,不过后面画的颜色会把前面画的颜色覆盖掉,现在想知道画完后这块画布的颜色分布,比如 1号颜色有几块,2号颜色有几块。。。。******************************************************************...
分类:其他好文   时间:2015-07-26 20:44:44    阅读次数:150
使用Linq导出数据到execl
/// /// 绑定数据 /// private void BindData() { IQueryable query = SelectData(); this.anpList.RecordCount = query.Count(); int curr_page_index = this.an...
分类:其他好文   时间:2015-07-26 19:10:12    阅读次数:111
Python中的类(上)
在Python中,可以通过class关键字定义自己的类,然后通过自定义的类对象类创建实例对象。例如,下面创建了一个Student的类,并且实现了这个类的初始化函数"__init__":class Student(object): count = 0 books = [] def _...
分类:编程语言   时间:2015-07-26 12:35:46    阅读次数:243
count()与sum()
介绍Mysql中的count()与sum()区别CREATE TABLE `result` ( `name` varchar(20) default NULL, `subject` varchar(20) default NULL, `score` tinyint(4) default NULL )...
分类:其他好文   时间:2015-07-26 10:56:34    阅读次数:136
checkedListBox
checkedListBox一键删除多个选中items private void button3_Click(object sender, EventArgs e) { for (int i = 0; i < checkedListBox1.Items.Count...
分类:其他好文   时间:2015-07-25 22:50:23    阅读次数:119
POJ 2777 Count Color
C - Count Color Time Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64u Submit Status Practice POJ 2777 Appoint description:  System Crawler  (2015-07-22) Descrip...
分类:其他好文   时间:2015-07-25 21:35:52    阅读次数:183
String相关操作
1.求字符串中连续出现最多的字串pair substring(const string& str){ int i, j, k, len = str.length(), count, maxcount = 1; string substr; vector substrs; //...
分类:其他好文   时间:2015-07-25 19:48:41    阅读次数:101
BZOJ1036 树的统计Count
树链剖分点更新,线段树点更新区间查询,需要维护两个值 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 #define lson l,m,rtmaxsize) 41 m...
分类:其他好文   时间:2015-07-25 13:38:16    阅读次数:156
PL/SQL设置快捷键
PL/SQL常用的快捷方式:sf= select * from sr=select t.*,t.rowid from t sd = select distinct * from d=delete from w= where sc=select count(1) from u= update在某一文件...
分类:数据库   时间:2015-07-25 11:55:04    阅读次数:133
perl学习笔记
#!/usr/bin/perlmy$tmp="ye_qing";my@name=split("_",$tmp);my$list="==$name[0]==$name[1]==\n";print$list;my@ye=(1,2,3,4);my@qing=(1,2,@ye,4,5,6);$scount=@qing;print"==sum:$scount==\n";print"==@qing==\n";$count=1;while($count<=@qing){print("==age:$qing[$coun..
分类:其他好文   时间:2015-07-25 10:49:58    阅读次数:141
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!