- 博客(48)
- 资源 (1)
- 收藏
- 关注
转载 Git和GitHub在线学习资源整理
电子书GotGitHubGit Workflow沉浸式学习Git文章GitHub Fundamentalvisual-git-guide图形化的Git参考手册Linux下使用git命令以及github项目Github中watch、star和fork三个按钮的用途教程Try GitGit Immersion入门指导
2015-03-31 13:18:59 709
转载 GitHub 优秀的 Android 开源项目
转自:http://blog.csdn.net/shulianghan/article/details/18046021 主要介绍那些不错个性化的View,包括ListView、ActionBar、Menu、ViewPager、Gallery、GridView、ImageView、ProgressBar及其他如Dialog、Toast、EditText、TableView、Acti
2015-03-31 13:12:08 647
原创 山大工大联谊1009 integer division ii【DP】
1009 integer division iidescriptionThis is a very simple problem, just like previous one.You are given a postive integer n, and you need to divide this integer into m pieces. Then multip
2015-03-31 12:44:11 800
原创 山大工大联谊1008 Integer Division I
1008 Integer Division Idescription整数划分是一个非常经典的数学问题。所谓整数划分,是指把一个正整数n写成为n=m1+m2+...+mi的形式,其中mi为正整数,并且1现在给出你正整数n和m,请你输出n的m划分的数量。例如,当n=4时,有5个划分,即{4}, {3,1}, {2,2}, {2,1,1}, {1,1,1,1}。注
2015-03-30 21:33:05 646
原创 山大工大联谊1007 combinatorial mathematics once more 【斯特灵数,贝尔数】
1007 combinatorial mathematics once more description如果你对组合数学有所涉猎,你一定会对组合划分非常熟悉,那么问题来了:现在给你一个数集S的大小n,请告诉我将它划分为集合的方法总数ans是多少?input多组数据输入,每组输入有一个n(noutput首先请输出Case #x,表示当前为第x个样例,然
2015-03-30 19:34:37 1019
原创 山大工大联谊1006 combinatorial mathematics
1006 combinatorial mathematicsdescriptionAs you know, shadow95 is pretty good at maths, especially combinatorial mathematics. Now, he has made a problem for you. We call a subset which exactly
2015-03-30 18:54:39 724
原创 山大工大联谊1005 count triangle【思维】
1004 count trianglediscription一开始就出一大堆英文题确实不好,那么现在来一道中文题目(虽然我觉得英文比中文好解释清楚)。题目是这样子的:给定N条边,编号从1~N,每条边都有一个边长,问可以组成多少个不同的三角形(有一条边的编号不同便视为不同的三角形)。请机智的你来解决这道题吧~input输入数据的第一行为一个整数T(T 每组数据占两
2015-03-29 21:28:19 985
原创 山大工大联谊1004 Count
1004 CountdiscriptionYou are given an integer array s[] and are asked to count how many positions a, b, c and d satisfy the condition: s[a] + s[b] + s[c] == s[d].Note that a, b, c, and d do not
2015-03-29 20:11:54 762
原创 山大工大联谊1003 A * B【坑】
1003 A * BdiscriptionYour task is to find the minimal positive integer number Q so that the product of digits of Q is exactly equal to N.inputThe first line of input contains
2015-03-29 19:40:21 1001
原创 工大山大联谊1001 N!(找规律)
1001 N!discriptionThis task is very simple, please calculate how many zeros are there at the end of calculation of n!.For example, 15! = 1307674368000, so answer is 3.inputAt the first lin
2015-03-29 14:44:17 848
原创 cocos2d-js帅炸了之text学习【一 spinetext骨骼动画】
好炫酷哇!1.什么是骨骼动画当前有两种模型动画的方式:顶点动画和骨骼动画。顶点动画中,每帧动画其实就是模型特定姿态的一个“快照”。通过在帧之间插值的方法,引擎可以得到平滑的动画效果。在骨骼动画中,模型具有互相连接的“骨骼”组成的骨架结构,通过改变骨骼的朝向和位置来为模型生成动画。骨骼动画比顶点动画要求更高的处理器性能,但同时它也具有更多的优点,骨骼动画可以更容易、更
2015-03-24 11:12:46 3518 1
原创 515C. Drazil and Factorial
C. Drazil and Factorialtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDrazil is playing a math game with Varda.Le
2015-03-23 21:38:08 536
原创 515B. Drazil and His Happy Friends
B. Drazil and His Happy Friendstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDrazil has many friends. Some of them
2015-03-23 21:20:56 762
原创 527C. Glass Carving【平衡二叉树】
C. Glass Carvingtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLeonid wants to become a glass carver (the person wh
2015-03-21 18:51:07 805
原创 527B. Error Correct System【string】
B. Error Correct Systemtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputFord Prefect got a job as a web developer for
2015-03-21 18:44:47 676 1
原创 527A. Playing with Paper【math】
A. Playing with Papertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day Vasya was sitting on a not so interesti
2015-03-21 18:33:28 841
转载 移动前端开发之viewport的深入理解
我转载的别人的。在移动设备上进行网页的重构或开发,首先得搞明白的就是移动设备上的viewport了,只有明白了viewport的概念以及弄清楚了跟viewport有关的meta标签的使用,才能更好地让我们的网页适配或响应各种不同分辨率的移动设备。一、viewport的概念通俗的讲,移动设备上的viewport就是设备的屏幕上能用来显示我们的网页的那一
2015-03-19 22:31:17 687
原创 jquery mobile入门【page】
终于开始了手机端jquery的学习,有demo,有api,写起来还是很容易哒。太好了,开始。首先,jquery mobile要加入的是:meta name="viewport" content="width=device-width,initial-scale=1.0">api说 viewport lin
2015-03-19 22:05:28 647
原创 easeljs web开发围住神经小猫咪【三】
收尾 加入游戏开始结束页面我记得游戏中有开始界面也有结束界面的,而且结束界面有赢得还有输的,赢了还会显示步数是多少。那好吧 我在main.js中加入了一个//流程控制function startGame(){ 开始游戏画面,一点就进入游戏场景}function enterGame(){ 游戏运行画面,这里把StartGame里面的开始
2015-03-19 16:42:44 1635 2
原创 easeljs web开发围住神经小猫咪【二】
前两天状态不好。接着上次没写完的继续写。围住神经小猫咪游戏,我确定小猫类,圆圈类,并会加载鼠标点击事件,在点击事件里面,我不但控制圆圈的变化,还控制小猫的移动,就这么简单!哈哈一.加载圆圈开始写圆圈类圆圈能有的属性是什么,函数又是什么呢?很容易想到,圆圈有一个颜色的变化,红色,白色,这里我可以给它设置一个TYPE值。
2015-03-19 15:51:05 1569
原创 523A Rotate, Flip and Zoom
A. Rotate, Flip and Zoomtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp is writing the prototype of a graph
2015-03-16 22:40:45 715 2
原创 523C Name Quest【挡板,字符串】
C. Name Questtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA Martian boy is named s — he has got this name quite r
2015-03-16 22:21:27 684
原创 523D - Statistics of Recompressing Videos【模拟,greedy】
D. Statistics of Recompressing Videostime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA social network for dogs calle
2015-03-16 22:01:07 834 3
原创 《移动游戏开发精要》书评【跟我一样小白的,推荐这本书哦】
忙碌的一阵终于过去了,大姨妈来了,什么也干不了,最适合歪在床上,写写我最近看的书。看完《移动游戏开发精要》,获益匪浅。他没有详细讲任何一个游戏的开发过程,而是,从游戏的历史,到游戏从设计到最后出品的过程,到对游戏未来的展望都做了非常让人眼前一亮的介绍。第一章:移动游戏简史。原来,知道3G推出之后,人们才对比之前,提出了1G,2G概念,每一次升级,都是一个时代,这
2015-03-16 16:17:34 1632
转载 设计师10大必备HTML动画工具【my god 很不错啊,先收着】
HTML 5已经成为Web开发者当中最流行的语言之一,“健壮的”语言有很大的生产优质万维网内容的能力。HTML 5在近三年的增长迅猛,新引入HTML 5的技术更加的优秀。HTML 5技术被现代浏览器所支持,如Chrome、Firefox、Internet Explorer等等。而今天,我们将为您推荐十个HTML 5动画工具,希望对您的工作有所帮助。1. MixeekMi
2015-03-11 15:35:03 716
原创 easeljs web开发围住神经小猫咪【一】
前两天学的围住神经小猫咪————图片版,在这里总结一下,与之前的神经猫有了很多新的东西。开始。一.加载背景,圆圈,小猫咪这里要用到easeljs,首先建立index.html之后引入easeljs文件script src="easeljs-0.8.0.min.js">script>观察游戏,我们会发现,与之前圆圈版为主神经猫不同的是,1.这里的猫咪是
2015-03-10 10:25:38 1119
原创 cocos-js web开发泡泡龙游戏【二 生成游戏所有元素】
为了游戏主界面形成这样的效果(请忽略边边角角那一些黑边,这店bug以后换图片)需要我写一个bubblescene场景js 用来加载固定在游戏主界面不变的背景和炮台还要写一个bubble类,用来封装bubble类最后在bubblescene中按照算法添加bubble们二.加载游戏主场景所有元素首先看一下bubble类吧。。bubbl
2015-03-09 23:25:21 2661 2
原创 cocos-js web开发泡泡龙游戏【一 加载游戏场景】
哀家发现一个游戏如果不记录(复习)一下的话,不算真正记在脑子里了,也可以理解为我是一个手写记忆型。我目前的水平,对cocos2d-x有了一些了解,对cocos2d-js没有接触过,看了一下泡泡龙的视频。但是两者是一个妈妈生的,很多东西都是相同的,就好理解的许多,我仅对cocos2d-js的内容多做一些记录。开始。一。加载游戏场景打开刚刚下载的coco
2015-03-09 22:50:57 2178
原创 522B. Photo to Remember
B. Photo to Remembertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day n friends met at a party, they hadn't se
2015-03-09 22:30:29 646
原创 522A. Reposts
A. Repoststime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day Polycarp published a funny picture in a social netw
2015-03-09 22:22:45 1106
原创 520B. Two Buttons【这题好魔性 greedy 反推】
B. Two Buttonstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya has found a strange device. On the front panel o
2015-03-09 22:07:13 1099
原创 520A Pangram【implement】
A. Pangramtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA word or a sentence in some language is called a pangra
2015-03-09 21:51:55 808
转载 cocos2dx虚拟摇杆制作【极力推荐】
wq右边写的。项目所用图片资源下载:http://download.csdn.net/detail/jukai7/5096755 解压我们下载的图片资源,有三个图片,其中飞机图片是被控制的对象,剩下的两个我们组合起来制作摇杆,想必这个摇杆最后的样子大家已经猜到了吧,如下所示,即用圆圈作为控制按钮,滑动圆圈,根据其所在位置来设置飞机应该运行的方向。
2015-03-04 20:49:45 1789
原创 createjs之easeljs【游戏围住神经猫】
在html文件中引入script src="circle.js">script> 创建圆类canvas width="800px" height="800px" id="gameView">您的浏览器不支持canvas>script src="app.js">script> 游戏逻辑circle.js文件中/** * Created by Administrator
2015-03-03 12:34:37 2216 1
原创 Problem 518C - Anya and Smartphone
C. Anya and Smartphonetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAnya has bought a new smartphone that uses Berd
2015-03-02 22:04:23 456
原创 518B - Tanya and Postcard【哎还是string】
B. Tanya and Postcardtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Tanya decided to present her dad a postc
2015-03-02 21:59:23 648 1
原创 518A - Vitaly and Strings【string】
A. Vitaly and Stringstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVitaly is a diligent student who never missed a
2015-03-02 21:56:10 682
原创 519C - A and B and Team Training【greedy】
C. A and B and Team Trainingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA and B are preparing themselves for prog
2015-03-02 21:51:42 411
原创 519B. A and B and Compilation Errors【implamentation】
B. A and B and Compilation Errorstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA and B are preparing themselves fo
2015-03-02 17:15:45 583
原创 519A - A and B and Chess【implementation】
A. A and B and Chesstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA and B are preparing themselves for programming
2015-03-02 16:57:01 578
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人