码迷,mamicode.com
首页 >  
搜索关键字:autumn    ( 116个结果
POJ 3321 Apple Tree(树状数组)
Apple Tree Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 20671   Accepted: 6257 Description There is an apple tree outside of kaka's house. Every autumn,...
分类:移动开发   时间:2015-05-03 10:39:40    阅读次数:164
ACM学习历程——POJ3321 Apple Tree(搜索,线段树)
DescriptionThere is an apple tree outside of kaka's house. Every autumn, a lot of apples will grow in the tree. Kaka likes apple very much, so he has ...
分类:移动开发   时间:2015-04-30 21:36:07    阅读次数:243
C#基本语法复习-使用枚举和结构来创建值类型
声明枚举: enum Season{Spring,Summer,Fall,Winter} 如果不为枚举一个枚举文字常量显示指定一个常量整数型,编译器会自动为他指定比前面一个枚举文字常量大一的值 enum Season{Spring=1,Summer,Fall,Autumn=Fall,Winte...
分类:Windows程序   时间:2015-04-02 20:23:40    阅读次数:146
1070. Mooncake
Mooncake is a Chinese bakery product traditionally eaten during the Mid-Autumn Festival. Many types of fillings and crusts can be found in traditional mooncakes according to the region's culture. Now ...
分类:其他好文   时间:2015-03-07 18:46:06    阅读次数:132
POJ3321---Apple Tree(树状数组)
DescriptionThere is an apple tree outside of kaka’s house. Every autumn, a lot of apples will grow in the tree. Kaka likes apple very much, so he has been carefully nurturing the big apple tree.The tre...
分类:移动开发   时间:2015-03-05 16:56:29    阅读次数:162
PAT1070. Mooncake
Mooncake is a Chinese bakery product traditionally eaten during the Mid-Autumn Festival. Many types of fillings and crusts can be found in traditional...
分类:其他好文   时间:2015-02-14 17:31:09    阅读次数:213
poj 2756 Autumn is a Genius 高精度加减
题意: 求a+b。-10^50000 分析: 题目描述很猥琐,其实要用高精度的,用高精度加减模板。 代码: //poj 2756 //sep9 #include using namespace std; const int maxN=60000; char A[maxN],B[maxN]; int L,flag1,flag2,flag3,a[maxN],b[maxN],c[maxN];...
分类:其他好文   时间:2015-01-29 16:04:58    阅读次数:182
Mooncake (排序+贪心)
Mooncake is a Chinese bakery product traditionally eaten during the Mid-Autumn Festival. Many types of fillings and crusts can be found in traditional...
分类:编程语言   时间:2015-01-20 08:56:59    阅读次数:126
改善java程序的151个建议--枚举和注解
83、项目开发中,推荐使用枚举定义常量,来代替接口常量或类常量 Eg:enum{Spring,Summer,Autumn,Winter;} 枚举定义常量相对于经常使用的常量类和静态常量相比的优势: 1)枚举常量更简单:枚举常量不需要定义枚举值,int spring=1;枚举表示的 是一个枚举项,字面含义不同,其他常量必须是一个类型; 2)枚举常量属于稳态型 3)枚举具有内置的方法,例如v...
分类:编程语言   时间:2015-01-19 12:50:49    阅读次数:250
【四】使用枚举和结构来创建值类型
enum Season {Spring=0,Summer=22,Fall,Autumn=Fall,Winter=4}Season colorful = Season.Fall;string name = colorful.ToString();Console.WriteLine(colorful);...
分类:其他好文   时间:2015-01-16 19:06:21    阅读次数:206
116条   上一页 1 ... 7 8 9 10 11 12 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!