效果演示http://demo.qpdiy.com/hxw/CSS3/rotate+light.html物体旋转:卡牌同一位置放2张图片,通过设置3D动画旋转实现animation: cardfront 2s infinite; -webkit-animation: cardfront 2s ...
分类:
Web程序 时间:
2015-02-03 16:42:18
阅读次数:
230
Convergents of e
Problem 65
The square root of 2 can be written as an infinite continued fraction.
√2 = 1 +
1
2 +
1
2 +
1
2 +
1
...
分类:
编程语言 时间:
2015-01-31 16:27:32
阅读次数:
178
在Merge Sort的基础上改改就好了。 1 public class Inversions { 2 3 public static int inversions(int [] A,int p, int r) 4 { 5 6 if(...
分类:
编程语言 时间:
2015-01-30 19:31:20
阅读次数:
141
ThreadExitFlag = TRUE;
m_thread->ResumeThread();//继续线程
m_pSampleThread->ResumeThread();
Sleep(20);
/*
WaitForSingleObject(m_thread->m_hThread, INFINITE);
WaitForSingleObject(m_pSampleThread->m_h...
分类:
编程语言 时间:
2015-01-29 14:45:21
阅读次数:
131
C - Color the Ball Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThere are infinite balls in a line (num...
分类:
其他好文 时间:
2015-01-24 13:04:14
阅读次数:
195
前面写过一篇关于视频对比的文章,后来又做了一些修缮,用代码实现了一遍。
//定时器,解码
void Cvideo4Dlg::OnTimer(UINT nIDEvent)
{
//输出视频解码
WaitForSingleObject(AfxBeginThread(Decode_out_Thread, this), INFINITE);
//输入视频解码
WaitForSingleObjec...
分类:
其他好文 时间:
2015-01-23 18:24:32
阅读次数:
146
通常死循环会这样写
for(;;)
无限循环
理论上讲,任何一个循环语句都可以达到死循环的目的,比如 (代码取自udk2014)
/**
Executes an infinite loop.
Forces the CPU to execute an infinite loop. A debugger may be used to skip
past the loop a...
分类:
其他好文 时间:
2015-01-01 19:50:19
阅读次数:
294
C. Crazy TownCrazy Town is a plane on which there are n infinite line roads. Each road is defined by the equation aix?+?biy?+?ci?=?0, where ai and bi ...
分类:
其他好文 时间:
2014-12-27 17:25:42
阅读次数:
176
.spinner { width: 400px; height: 400px; background-color: #0cf; border-radius: 100%; -webkit-animation: scaleout 1.0s infinite ease-in-out;} @-...
分类:
Web程序 时间:
2014-12-24 17:59:05
阅读次数:
198
WaitForSingleObject函数用来检测hHandle事件的信号状态,当函数的执行时间超过dwMilliseconds就返回,但如果参数dwMilliseconds为INFINITE时函数将直到相应时间事件变成有信号状态才返回,否则就一直等待下去,直到WaitForSingleObject...
分类:
其他好文 时间:
2014-12-12 06:40:59
阅读次数:
203