自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(20)
  • 资源 (5)
  • 收藏
  • 关注

转载 CCTextFieldTTF的使用和再封装

CCTextFieldTTF是cocos2d-x封装的输入框控件,主要配合CCTextFieldDelegate和CCTouchDelegate两个代理接口使用,前者是用来处理文字的输入删除操作的代理类,后者是用来触发打开和关闭输入法键盘的。      借鉴网友oneRain88的“带光标的输入框”文章,在其基础上加入了密码框星号显示设置,字符长度设置,触摸弹出输入法区域设置。 

2015-11-30 19:56:16 439

原创 HDU ACM 1060 Leftmost Digit [数学题]

原题描述Problem Description Given a positive integer N, you should output the leftmost digit of N^N.Input The input contains several test cases. The first line of the input is a single integer T which

2015-11-29 01:53:20 485

原创 HDU ACM 2138 How many prime numbers

原题描述Problem Description Give you a lot of positive integers, just to find out how many prime numbers there are.Input There are a lot of cases. In each case, there is an integer N representing the

2015-11-29 01:06:52 478

原创 HDU ACM 1071 The area [数学题]

原题描述Problem Description Ignatius bought a land last week, but he didn’t know the area of the land because the land is enclosed by a parabola and a straight line. The picture below shows the area. Now

2015-11-28 13:41:02 512

原创 HDU ACM 1084 What Is Your Grade?

原题描述Problem Description “Point, point, life of student!” This is a ballad(歌谣)well known in colleges, and you must care about your score in this exam too. How many points can you get? Now, I told y

2015-11-25 11:47:27 432

原创 HDU ACM 1236 排名

原题描述Problem Description 今天的上机考试虽然有实时的Ranklist,但上面的排名只是根据完成的题数排序,没有考虑 每题的分值,所以并不是最后的排名。给定录取分数线,请你写程序找出最后通过分数线的 考生,并将他们的成绩按降序打印。 Input 测试输入包含若干场考试的信息。每场考试信息的第1行给出考生人数N ( 0 < N < 1000 )、考

2015-11-22 22:57:03 365

原创 HDU ACM 1157 Who's in the Middle

原题描述Problem Description FJ is surveying his herd to find the most average cow. He wants to know how much milk this ‘median’ cow gives: half of the cows give as much or more than the median; half give

2015-11-22 21:52:45 543

原创 HDU ACM 2187 悼念512汶川大地震遇难同胞——老人是真饿了

原题描述Problem Description 对于幸存的灾民来说,最急待解决的显然是温饱问题,救灾部队一边在组织人员全力打通交通,一边在组织采购粮食。现在假设下拨了一定数量的救灾经费要去市场采购大米(散装)。如果市场有m种大米,各种大米的单价和重量已知,请问,为了满足更多灾民的需求,最多能采购多少重量的大米呢?Input 输入数据首先包含一个正整数C,表示有C组测试用例,每组测试用例的第

2015-11-22 21:21:53 906

原创 HDU ACM 2093 考试排名

原题描述Problem Description C++编程考试使用的实时提交系统,具有即时获得成绩排名的特点。它的功能是怎么实现的呢? 我们做好了题目的解答,提交之后,要么“AC”,要么错误,不管怎样错法,总是给你记上一笔,表明你曾经有过一次错误提交,因而当你一旦提交该题“AC”后,就要与你算一算帐了,总共该题错误提交了几回。虽然你在题数上,大步地跃上了一个台阶,但是在耗时上要摊上你共花去

2015-11-22 00:44:21 1342

原创 HDU ACM 1052 Tian Ji -- The Horse Racing

原题描述Problem Description 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 racing with the k

2015-11-21 12:16:22 404

原创 HDU ACM 1051 Wooden Sticks

原题描述Problem Description There is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be processed by a woodworking machine in one by one fashion. It

2015-11-19 23:50:49 621

原创 HDU ACM 1789 Doing Homework again

原题描述Problem Description Ignatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline of handing in the homework. If Ignatius hands

2015-11-19 10:17:56 725 2

原创 HDU ACM 1009 FatMouse' Trade

原题描述Problem Description FatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his favorite food, JavaBean. The warehouse has N rooms. The i-th room

2015-11-18 12:28:32 625

原创 HDU ACM 2111 Saving HDU

原题描述Problem Description 话说上回讲到海东集团面临内外交困,公司的元老也只剩下XHD夫妇二人了。显然,作为多年拼搏的商人,XHD不会坐以待毙的。 一天,当他正在苦思冥想解困良策的时候,突然想到了自己的传家宝,那是公司成立的时候,父亲作为贺礼送来的一个锦囊,徐父当时交代,不到万不得已的时候,不要打开它。“现在不正是最需要的时候吗?”,一边想,XHD一边找到了这个精心

2015-11-18 11:40:49 764

转载 HDU ACM Steps攻略 ACM Steps的全部内容

原地址:http://www.byywee.com/page/M0/S607/607452.html 总结了一下ACM STEPS的各章内容,趁便附上我的Steps题号(每人的不一样)。别的,此文首要目标是为了装逼;大牛请疏忽;摸索欲斗劲强的请疏忽;其实不乐于从A+B刷起的可以找到须要的响应题号操练~~1.1.1 根蒂根基输入输出:LCY的 A+B 8题(1089~1096)1.2 C说话根蒂根基

2015-11-16 15:14:31 771

原创 HDU ACM 1007 Quoit Design

原题描述Problem Description Have you ever played quoit in a playground? Quoit is a game in which flat rings are pitched at some toys, with all the toys encircled awarded. In the field of Cyberground,

2015-11-16 14:32:22 602 1

原创 HDU ACM 1800 Flying to the Mars

原题描述Problem Description In the year 8888, the Earth is ruled by the PPF Empire . As the population growing , PPF needs to find more land for the newborns . Finally , PPF decides to attack Kscinow who

2015-11-16 13:53:55 742

原创 HDU ACM 1050 Moving Tables

原题描述Moving TablesProblem Description The famous ACM (Advanced Computer Maker) Company has rented a floor of a building whose shape is in the following figure. The floor has 200 rooms each on

2015-11-15 22:34:03 612

原创 HDU ACM 2037 今年暑假不AC

原题描述 今年暑假不AC Problem Description “今年暑假不AC?” “是的。” “那你干什么呢?” “看世界杯呀,笨蛋!” “@#$%^&*%…” 确实如此,世界杯来了,球迷的节日也来了,估计很多ACMer也会抛开电脑,奔向电视了。 作为球迷,一定想看尽量多的完整的比赛,当然,作为新时代的好青年,你一定还会看一些其它的节目,

2015-11-15 16:03:43 622

转载 欢迎使用CSDN-markdown编辑器

欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦:Markdown和扩展Markdown简洁的语法代码块高亮图片链接和图片上传LaTex数学公式UML序列图和流程图离线写博客导入导出Markdown文件丰富的快捷键快捷键加粗 Ctrl + B 斜体 Ctrl + I 引用 Ctrl

2015-11-15 15:54:05 421

王道程序员面试宝典

王道程序员面试宝典,完整版,带目录,扫描版。 互联网公司面试笔试题目解析。

2018-06-12

C# WPF 计算器 有运算优先级

C#课作业,WPF制作的有运算优先级的计算器。有图形界面。 先将表达式转化为后缀表达式然后求解。

2015-12-06

cocos2d-x实现单摆运动状态的展示

使用cocos2d-x开发的有图形界面的单摆运动状态展示。 版本3.8. 实现了单摆周期求解、瞬时角速度求解,并且都展示在图形界面中。 可以改变摆线长度和摆角大小。 包含了代码和资源。

2015-12-06

游戏引擎架构.pdf

游戏引擎架构.pdf 电子工业出版社 [美]Jason Gregory 著 叶劲峰 译

2015-09-17

BindImage3.02

BindImage特点 1.最优合并碎图到单张图片,比现在的Cocostudio,TexturePacker要小得多,节省不少内存和磁盘空间。 2.默认支持xml和plist格式描述文件,用于Cocos2d或者Cocos2dx,包括其他引擎用的xml。 3.支持生成PNG图片容量优化,尽可能的优化到最小,包括单独的批量优化容量。 4.支持合成图还原到碎图,并还原中心点,不会有信息丢失。 5.支持序列帧优化,移除多余类似帧,描述信息公用同张碎图。

2015-09-17

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除