Problem Description
As we all know, machine scheduling is a very classical problem in computer science and has been studied for a very long history. Scheduling problems differ widely in the nature of...
分类:
其他好文 时间:
2014-07-28 15:47:03
阅读次数:
308
European and American breeds rare black color and distinct facial features, pale pinkish purple color of this long dress with matching holes for a fre...
分类:
其他好文 时间:
2014-07-28 14:56:43
阅读次数:
377
long switchState = 0xf0000000000L;int result = (switchState & 0xff00000000L) > 0 ? 0x01 : 0x00;你认为result是多少?1result = (switchState & 0xff000000) > 0 ?...
分类:
编程语言 时间:
2014-07-28 14:45:13
阅读次数:
202
如何让图1中的div2移动到如图2上的位置; 思路:哪些css命令能够影响盒子显示的位置呢? relative相对定位/定位偏移量 position:relative; 相对定位 a、不影响元素本身的特性; b、不使元素脱离文档流; c、如果没有定位偏移量,对元素本身没有任何影响; 定位元素位置控制...
分类:
Web程序 时间:
2014-07-28 11:28:10
阅读次数:
282
一:数据类型 (1)java整形: 类型 存储要求 int 4字节 short 2字节 long 8字节 byte 1字节 (2)浮点类型 类型 ...
分类:
编程语言 时间:
2014-07-28 11:23:00
阅读次数:
225
题目链接:点击打开链接
== 难得的y出了一道计算几何
#include
#include
#include
#include
#include
using namespace std;
#define INF 999999999.9
#define PI acos(-1.0)
#define ll long long
struct Point
{
ll x, y,...
分类:
移动开发 时间:
2014-07-28 00:15:29
阅读次数:
326
题目连接:uva 10458 - Cricket Ranking
题目大意:给定k和n,表示有k个比赛,总共要的n分,每个比赛可以得l~r的分数,问说可以有多少种得分方式。
解题思路:容斥,可以参考Codeforces 451E.
#include
#include
#include
using namespace std;
typedef long long ll;
con...
分类:
其他好文 时间:
2014-07-28 00:06:29
阅读次数:
476
通过键盘输入一串小写字母(a~z)组成的字符串。请编写一个字符串过滤程序,若字符串中出现多个相同的字符,将非首次出现的字符过滤掉。比如字符串“abacacde”过滤结果为“abcde”。要求实现函数:void stringFilter(const char *pInputStr, long lInp...
分类:
其他好文 时间:
2014-07-27 22:30:39
阅读次数:
175
题目连接:http://acm.uestc.edu.cn/#/problem/show/931OJ评判系统有些坑,不支持__int64以及输出的%I64d大家注意。全开long long也会TLE,比较坑。逆序的基础操作题,不错。 1 #include 2 #define MAX 100010 3....
分类:
其他好文 时间:
2014-07-27 21:36:45
阅读次数:
207
Description
Every time it rains on Farmer John's fields, a pond forms over Bessie's favorite clover patch. This means that the clover is covered by water for awhile and takes quite a long time to r...
分类:
其他好文 时间:
2014-07-27 11:17:12
阅读次数:
255