圆点坐标:(x0,y0)半径:r角度:a0则圆上任一点为:(x1,y1)x1 = x0 + r * cos(ao * 3.14 /180 )y1 = y0 + r * sin(ao * 3.14 /180 )
分类:
其他好文 时间:
2014-08-01 19:34:42
阅读次数:
160
本文将详细讲述在VMware Workstation 10上安装并使用Mac OS X 10.9,并使用VMware虚拟机部署Swift开发环境。...
分类:
其他好文 时间:
2014-08-01 13:36:01
阅读次数:
343
Apple Treehttp://poj.org/problem?id=3321 1 #include 2 #include 3 #define mt(a,b) memset(a,b,sizeof(a)) 4 const int M=100010; 5 struct G{ 6 struct ...
分类:
其他好文 时间:
2014-08-01 13:18:11
阅读次数:
178
题目大意:
修改树上的节点,然后求子树的和。
思路分析:
dfs 重新编号,烂大街了。。。
#include
#include
#include
#include
#define maxn 100005
#define lson num<<1,s,mid
#define rson num<<1|1,mid+1,e
using namespace std;
int num[...
分类:
移动开发 时间:
2014-07-31 20:46:27
阅读次数:
251
Apple的开发者账号99¥。(反正我舍不得。上淘宝买个证书就可以用自己的iphone/ipad来真机调试代码了)怎么买?1.你的apple设备的udid号(设备标识符)2.支付RMB从淘宝店老板那里得到了什么?3个证书如下图所示: + p12文件的密码原理:给店老板你的设备唯一标识符号码,说:我想...
分类:
移动开发 时间:
2014-07-31 20:42:37
阅读次数:
288
在终端里输入下面命令即可让它们显示出来。 defaults write com.apple.finder AppleShowAllFiles -bool true 如果想恢复隐藏,可以用这个命令: defaults write com.apple.finder AppleShowAllFil...
分类:
移动开发 时间:
2014-07-31 20:35:27
阅读次数:
211
Apple Treehttp://poj.org/problem?id=3321 1 #include 2 #include 3 #define mt(a,b) memset(a,b,sizeof(a)) 4 #define lrrt int L,int R,int rt 5 #define ial...
分类:
其他好文 时间:
2014-07-31 12:20:36
阅读次数:
251
LWTWaterFlowView.h 1 // 2 // LWTWaterFlowView.h 3 // 瀑布流 4 // 5 // Created by apple on 14-7-29. 6 // Copyright (c) 2014年 lwt. All rights reserved....
分类:
其他好文 时间:
2014-07-30 20:34:04
阅读次数:
225
LWTViewController.m//// LWTViewController.m// 无限滚动//// Created by apple on 14-7-30.// Copyright (c) 2014年 lwt. All rights reserved.//#import "LWTV...
分类:
其他好文 时间:
2014-07-30 20:26:14
阅读次数:
226
iPhone App 上架流程1. 申请 App ID(1)连到 Developer 网页 ( http://developer.apple.com )。(2)进入 iOS Provisioning Portal。(3)点选左侧的 App IDs。(4)点选右上角的 New App ID。(5)De...
分类:
移动开发 时间:
2014-07-30 20:25:04
阅读次数:
199