上一页 1 ··· 228 229 230 231 232 233 234 235 236 ··· 299 下一页

2017年6月7日

摘要: 题目例如以下: Being unique is so important to people on Mars that even their lottery is designed in a unique way. The rule of winning is simple: one bets on 阅读全文
posted @ 2017-06-07 10:15 jzssuanfa 阅读(124) 评论(0) 推荐(0)
 
摘要: Description Write a program that finds and displays all pairs of 5-digit numbers that between them use the digits 0 through 9 once each, such that the 阅读全文
posted @ 2017-06-07 09:36 jzssuanfa 阅读(302) 评论(0) 推荐(0)
 
摘要: 使用QML自绘页面导航条 近期使用QML制作项目,依照要求。须要制作成分页的插件。遗憾的是,QML的控件库Qt Quick都没有现成的控件,于是我尝试着自己实现自绘页面导航条。 原创文章,反对未声明的引用。原博客地址:http://blog.csdn.net/gamesdev/article/det 阅读全文
posted @ 2017-06-07 09:34 jzssuanfa 阅读(1412) 评论(0) 推荐(0)
 
摘要:  unity3d中获得物体的size 以size的x方向为例 1:gameObject.renderer.bounds.size.x;//这个值的结果真实反应出有MeshRenderer这个组件的模型的尺寸。不须要再乘以localScale.x。 2:gameObject.GetComponen 阅读全文
posted @ 2017-06-07 08:49 jzssuanfa 阅读(5256) 评论(0) 推荐(0)
 

2017年6月6日

摘要: http://zju.acmclub.com/index.php?app=problem_title&id=1&problem_id=1968 题目非常easy。给定20个数,输出众数,假设出现次数相等就输出值小的那个。 值得一提的是:之前把cin>>x放在了while(1)里面,一直提示输出超限。 阅读全文
posted @ 2017-06-06 21:38 jzssuanfa 阅读(254) 评论(0) 推荐(0)
 
摘要: 1. HTTP请求格式 做过Socket编程的人都知道,当我们设计一个通信协议时,“消息头/消息体”的切割方式是非经常常使用的。消息头告诉对方这个消息是干什么的,消息体告诉对方怎么干。HTTP协议传输的消息也是这样规定的。每个HTTP包都分为HTTP头和HTTP体两部分,消息体是可选的,而消息头是必 阅读全文
posted @ 2017-06-06 20:06 jzssuanfa 阅读(490) 评论(0) 推荐(0)
 
摘要: 原则1:用户没精力研究你的应用。假设一開始不能非常清楚地了解某个应用,不能非常快上手应用。用户就要丢弃这个应用了 原则2:要让用户一眼就知道应用的核心功能和用法 原则3:减少认知负荷,千万不能让客户去学习 原则4:保持操作手指的轨迹的流畅性 原则5:内容优先 应该把很多其它的屏幕给内容。而不是导航。 阅读全文
posted @ 2017-06-06 19:31 jzssuanfa 阅读(162) 评论(0) 推荐(0)
 
摘要: QUESTION Given a string S and a string T, count the number of distinct subsequences of T in S. A subsequence of a string is a new string which is form 阅读全文
posted @ 2017-06-06 18:48 jzssuanfa 阅读(97) 评论(0) 推荐(0)
 
摘要: 自从10.9有了一个新的功能叫iCloud钥匙串的,就出现了不少的麻烦。一是在10.9.3之前。好多人出现无限循环地要求用户输入Local items的password问题,还好这个问题Apple官方给出了一个暂时解决办法:OS X Mavericks v10.9.1:重复提示解锁“本地项目”钥匙串 阅读全文
posted @ 2017-06-06 17:23 jzssuanfa 阅读(223) 评论(0) 推荐(0)
 
摘要: #include<iostream> #include<cstdio> #include<algorithm> using namespace std; int a[100],ans[100]; void merge_sort(int x,int y) { if(y-x>1) { int mid=x 阅读全文
posted @ 2017-06-06 16:28 jzssuanfa 阅读(86) 评论(0) 推荐(0)
 
上一页 1 ··· 228 229 230 231 232 233 234 235 236 ··· 299 下一页