关闭

cocos--类的创建

一旦创建好一个cocos2dx的游戏项目,系统会自动创建好两个类:AppDelegate和HelloWorldScene,并自动生成4对应的文件,分别是AppDelegate.h , HelloWorldScene.h , AppDelegate.cpp 和HelloWorldScene.cpp。 1. 分析AppDelegate类得AppDelegate.cp...
阅读(37) 评论(0)

HDU 3449 Consumer(有依赖背包)

Consumer Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/65536 K (Java/Others) Total Submission(s): 2385 Accepted Submission(s): 1269Problem Description FJ is going to do some shoppin...
阅读(29) 评论(0)

HDU 3535 AreYouBusy(多重背包模板)

AreYouBusy Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4604 Accepted Submission(s): 1884Problem Description Happy New Term! As having b...
阅读(23) 评论(0)

HDU 1719 Friend(规律)

Friend Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2838 Accepted Submission(s): 1472Problem Description Friend number are defined recurs...
阅读(24) 评论(0)

HDU 3763 C D(二分)

C D Time Limit: 12000/6000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1090 Accepted Submission(s): 480Problem Description Jack and Jill have decided to sel...
阅读(21) 评论(0)

HDU 2391 Filthy Rich(dp)

Filthy Rich Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3736 Accepted Submission(s): 1658Problem Description They say that in Phrygia,...
阅读(36) 评论(0)

HDU 1727 Hastiness(模拟)

Hastiness Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1793 Accepted Submission(s): 693Problem Description How many problems did you AC?...
阅读(28) 评论(0)

HDU2516 取石子游戏(斐波那契)

取石子游戏 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 6162 Accepted Submission(s): 3720Problem Description 1堆石子有n个,两人轮流取.先取者第1次可以取任意多个,但不能全部...
阅读(34) 评论(0)

HDU 2141 Can you find it?(二分)

Can you find it? Time Limit: 10000/3000 MS (Java/Others) Memory Limit: 32768/10000 K (Java/Others) Total Submission(s): 33248 Accepted Submission(s): 8241Problem Description Give you three seque...
阅读(30) 评论(0)

HDU 2203 亲和串(KMP)

亲和串 Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 15879 Accepted Submission(s): 6993Problem Description 人随着岁数的增长是越大越聪明还是越大越笨,这是一个值得全世界科学家思...
阅读(33) 评论(0)

HDU 4501 小明系列故事——买年货(三维背包)

小明系列故事——买年货 Time Limit: 5000/2000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 3482 Accepted Submission(s): 1635Problem Description   春节将至,小明要去超市购置年货,于是小明去了自己经...
阅读(19) 评论(0)

HDU 1114 Piggy-Bank(完全背包)

Piggy-Bank Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 27972 Accepted Submission(s): 14127Problem Description Before ACM can do anything...
阅读(39) 评论(0)

HDU 2062 Subset sequence(思维,数学)

Subset sequenceTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 6610 Accepted Submission(s): 3101Problem Description Consider the aggregate...
阅读(30) 评论(0)

STL 二分查找 upper_bound和lower_bound用法

STL中关于二分查找的函数有三个lower_bound 、upper_bound 、binary_search 。 这三个函数都运用于有序区间(当然这也是运用二分查找的前提),下面记录一下这两个函数。ForwardIter lower_bound(ForwardIter first, ForwardIter last,const _Tp& val)算法返回一个非递减序列[first, last)中...
阅读(25) 评论(0)

HDU 5532 Almost Sorted Array(思维,最长递增子序列,模拟)

Almost Sorted Array题目链接Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 6642 Accepted Submission(s): 1586Problem Description We are all fa...
阅读(31) 评论(0)
163条 共11页1 2 3 4 5 ... 下一页 尾页
    个人资料
    • 访问:29499次
    • 积分:1874
    • 等级:
    • 排名:千里之外
    • 原创:163篇
    • 转载:0篇
    • 译文:0篇
    • 评论:6条
    最新评论