1. HTTP消息头(1)通用信息头即能用于请求消息中,也能用于响应信息中,但与被传输的实体内容没有关系的信息头,如Data,Pragma主要: Cache-Control , Connection , Data , Pragma , Trailer , Transfer-Encoding , Up...
分类:
其他好文 时间:
2014-07-24 21:45:02
阅读次数:
291
一 Words1 gobble up 吞并 e.g. Banc One of Ochio has built an empire in the midwest by gobbling up smaller banks.俄亥俄州第一银行通过兼并一些小银行成为中西部地区的巨头2 gobble up耗费 ...
分类:
其他好文 时间:
2014-07-24 10:02:04
阅读次数:
191
最后的结果中正面向上的奇偶性是一定的,计算出正面向上的范围low,up
结果即为 C(m,low)+ C(m,low+2) +.... + C(m,up) ,用逆元取模
Turn the pokers
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total S...
分类:
其他好文 时间:
2014-07-23 22:36:49
阅读次数:
318
Turn the pokers
大意:给出n次操作,给出m个扑克,然后给出n个操作的个数a[i],每个a[i]代表可以翻的扑克的个数,求最后可能出现的扑克的组合情况。
Hint
Sample Input:
3 3
3 2 3
For the this example:
0 express face down,1 express face up
Ini...
分类:
其他好文 时间:
2014-07-23 22:35:57
阅读次数:
254
# include
# include
using namespace std;
int flag,t,n,a[10010],cot[10010],vis[100010];
void dfs(int x,int sum,int count)
{
int i;
if(sum>t)
return ;
else if(sum==t)
{
for(i=0;i<count;i++)...
分类:
其他好文 时间:
2014-07-23 21:04:53
阅读次数:
211
#pragma warning(disable:4996)
#include <Windows.h>
#include <tchar.h>
#include <cstdio>
/*
submit time : 1
request :
Follow up for N-Queens problem.
Now, instead outputting board configura...
分类:
其他好文 时间:
2014-07-23 18:13:56
阅读次数:
284
场景由于webdriver是要模拟真实的用户操作,因此webdriver的Action类中提供了很多与操作有关的方法。下面列举一下Action类的一些主要方法key_down。模拟按键按下key_up。模拟按键弹起clicksend_keysdouble_click。鼠标左键双击click_and_...
分类:
其他好文 时间:
2014-07-23 15:22:16
阅读次数:
155
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2014-07-23 12:03:26
阅读次数:
287
题目:Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Follow up:Can you solve it without using extra spac....
分类:
编程语言 时间:
2014-07-23 12:02:46
阅读次数:
304
题目:Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?题解:这道题连带着II是很经典的,在看CC150时候,纠结这个问题纠结了很久....
分类:
编程语言 时间:
2014-07-23 12:02:26
阅读次数:
311