【题意描述】本题就是给定一个圆棒的热膨胀系数以及膨胀的温度,求最后变弯后中心点与原来中心点的距离。【思路分析】几何+二分:根据公式我们就可以利用二分进行查找了,当然二分是有技巧的,我们由于是double型数据,我们需要在设置循环条件时不能用high-low>0(会陷入系循环)而是需要设置精度esp(...
分类:
其他好文 时间:
2014-08-05 10:52:29
阅读次数:
405
java集群分类:java学习2011-05-12 09:127531人阅读评论(9)收藏举报java服务器负载均衡ejb集群数据库序言越来越多的关键应用运行在J2EE(Java 2, Enterprise Edition)中,这些诸如银行系统和账单处理系统需要高的可用性(High Availabi...
分类:
编程语言 时间:
2014-08-05 00:34:18
阅读次数:
317
OpenGL and Graphics PipelineThe word pipeline is from production lines in factories.Generating a product at high efficiency and volume generally requi...
分类:
其他好文 时间:
2014-08-04 14:07:37
阅读次数:
368
Description:
The design uses CREE XPE LAMPS high brightness, very good reliability, life expectancy of 25,000 hours.
Character:
分类:
其他好文 时间:
2014-08-04 14:02:47
阅读次数:
178
public void quicksort(int[] array, int low, int high){ int i = low; int j = high; if(i>j) return; int pivot = i...
分类:
其他好文 时间:
2014-08-04 08:17:56
阅读次数:
204
??
??
编写头文件
struct
queue
{
int
num;
//代表数据
int
high;
//优先级1111
struct
queue *pNext;//存储下一个节点的地址
};
typedef
struct
queue
Q...
分类:
其他好文 时间:
2014-08-03 23:24:26
阅读次数:
372
各种配置在命令行状态下,多用crm进行 Global Cluster Options 这个类型是全局配置,主要包含下面两个: no-quorum-policy quorum的意思是最低法定人数,pacemaker能够继续工作所需要的最少的active的node的个数,这个数是(num of node...
分类:
其他好文 时间:
2014-08-03 22:48:46
阅读次数:
602
将sonix的sn9c291+ov9712的驱动在rt5350加载成功后,产生两个节点,video0,和video1,但是会报下面的错误,暂时未做分析
# usb 1-1.2: new high speed USB device using rt3xxx-ehci and address 4
usb 1-1.2: configuration #1 chosen from 1 choice
u...
分类:
其他好文 时间:
2014-08-02 23:28:04
阅读次数:
409
//文件usend.h
#ifndef _USEND_H_
#define _USEND_H_
//====红外接收相关定义=============================
#define PuTx_High (P_uTx = 1) //数据高
#define PuTx_Low (P_uTx = 0) //数据低
#define V_SendDatNum ...
分类:
其他好文 时间:
2014-08-01 23:11:19
阅读次数:
292
学过自由落体就好,初中物理题。
import java.util.Scanner;
public class reboundFiveTimes {
public static void main(String args[]){
Scanner input=new Scanner(System.in);
int k=input.nextInt();
double high=k/32....
分类:
其他好文 时间:
2014-08-01 16:09:11
阅读次数:
214