题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4720
用几何模板,求外接圆,再判断点在不在圆内
#include
#include
#include
const double esp = 1e-9;
//点
struct Point {
double x, y;
Point() {}
Point(double x...
分类:
其他好文 时间:
2014-05-10 08:52:52
阅读次数:
336
Certificates
证书是你有权利开发的凭证,是开发者的一种标识,相当于身份证,一个开发者账号只有一套。一套含两个,Development和Distribution。其中Development证书提供开发者在电脑上真机调试的权限,可以制作多个副本分发到多台电脑。Distribution证书给开...
分类:
移动开发 时间:
2014-05-09 16:50:12
阅读次数:
399
首先确定帐号是否能发布,https://developer.apple.com/account,如果你打开Provisioning
Portal,然后点击DisTribution看到的是下图中那样,再考虑按下面的方法弄(1)图中加号是灰色,点击图中的加号,没有反应,说明你的帐号不能发布,找你们老大要...
分类:
移动开发 时间:
2014-05-09 12:34:49
阅读次数:
656
public class SyncMetadataJob:SPJobDefinition {
private const string JobName = @"Metadata Sync Job"; private int counter = 0;
...
分类:
其他好文 时间:
2014-05-08 22:30:30
阅读次数:
319
private static void syncMetaData() { var
siteUrl = @"http://..."; using (var site = new SPSite(siteUrl)) { ...
分类:
其他好文 时间:
2014-05-08 20:59:41
阅读次数:
271
SPSecurity.RunWithElevatedPrivileges(delegate() {
using (SPSite oSite = new SPSite(siteUrl)) { ...
分类:
其他好文 时间:
2014-05-08 20:36:52
阅读次数:
454
浮点数与定点数表示法是我们在计算机中常用的表示方法 所以必须要弄懂原理,特别是在FPGA里面,由于FPGA不能像在MCU一样直接用乘除法。
定点数
首先说一下简单的定点数,定点数是克服整数表示法不能表示实数的缺陷,那么我们就可以通过将实数乘上一个分数来实现,当然要是分数就是2^-i倍数,那么我们的定点数表示法就是精确的表示,但是很不幸我们自然界中的树并不是那么凑巧。所以定点数只能是近视表示实数...
分类:
其他好文 时间:
2014-05-07 08:43:42
阅读次数:
392
五一中间断了几天,开始继续。。。
1、
??
Copy List with Random Pointer
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.
Return a...
分类:
其他好文 时间:
2014-05-06 18:54:59
阅读次数:
386
今天打算做两道半平面交,一题卡太久了,心都碎了。。。#pragma
warning(disable:4996)#include #include #include #include #include #include
#include using namespace std;#define maxn...
分类:
其他好文 时间:
2014-05-06 12:27:57
阅读次数:
389
// test.cpp : Defines the entry point for the
console application.//#include "stdafx.h"#include #include #include
"winioctl.h"#define IOCTL_STORAGE_QU...
分类:
其他好文 时间:
2014-05-05 10:52:44
阅读次数:
370