使用Storyboard时出现以下警告:warning: Unsupported Configuration: Scene is unreachable due to lack of entry points and does not have an identifier for runtime a...
分类:
数据库 时间:
2015-03-19 18:02:53
阅读次数:
148
window.IsPointInRegion = function (p, points) { //判断点是否在面内,p为当前点,points为构成平面的点数组 points = points || {}; var nCross = 0; var p1 =...
分类:
编程语言 时间:
2015-03-16 12:52:54
阅读次数:
171
1.1 问题:'tools.jar' seems to be not in Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE. 解决:开始以为是环境变量的问题,其实是安装 JDK 时,把.....
分类:
移动开发 时间:
2015-03-15 19:45:57
阅读次数:
140
1.基础知识——三个结构体CGPoint1 /* Points. */ 2 3 struct CGPoint { 4 CGFloat x; 5 CGFloat y; 6 }; 7 typedef struct CGPoint CGP...
分类:
其他好文 时间:
2015-03-15 16:36:30
阅读次数:
132
Description Several currency exchange points are working in our city. Let us suppose that each point specializes in two particular currencies and p...
分类:
其他好文 时间:
2015-03-15 00:31:12
阅读次数:
145
pairs
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1056 Accepted Submission(s): 372
Problem Description
John has n points
o...
分类:
其他好文 时间:
2015-03-12 13:21:41
阅读次数:
131
http://www.spoj.com/problems/VLATTICE/明显,当gcd(x,y,z)=k,k!=1时,(x,y,z)被(x/k,y/k,z/k)遮挡,所以这道题要求的是gcd(x,y,z)==1的个数+{(x,y,0)|gcd(x,y)==1}的个数+3{(0,0,1),(0,1...
分类:
其他好文 时间:
2015-03-12 00:46:51
阅读次数:
123
传送门:Cool Points题意:给一个圆心为原点的圆和一些线段,问所有线段两端点与圆心连线构成的角度总和占总360度的百分比。分析:首先将所有线段的两端点变成极角,然后排序(范围[-PI,PI],即从x轴负方向逆时针转一圈),如果某一线段极角值之差大于PI,构成的角度值肯定不是#include ...
分类:
其他好文 时间:
2015-03-11 19:41:09
阅读次数:
156
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.
For example,
Given [0,1,0,2,1,0,1,3,2,1,2,1]...
分类:
移动开发 时间:
2015-03-11 17:22:23
阅读次数:
160
Here I would like to share with you how to restore factory setting for Launch X431 V.Note: before operation, you need to keep following 2 points in mi...
分类:
其他好文 时间:
2015-03-11 16:53:14
阅读次数:
194