今天突然间update 一些软件后,就遇到了无法启动桌面,就是输入正确的用户名和密码后还是无法进入系统。重启后,一直停留在waiting for network configuration, 然后显示waiting up to 60 more seconds for networking confi...
分类:
其他好文 时间:
2014-08-20 01:22:55
阅读次数:
477
今晚再刷一题,题目如下:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices o...
分类:
其他好文 时间:
2014-08-20 01:20:15
阅读次数:
197
GO/****** Object: StoredProcedure [dbo].[UP_Job_UpdatePromotionBeginInfo] Script Date: 08/19/2014 19:02:11 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTI...
分类:
其他好文 时间:
2014-08-19 20:43:25
阅读次数:
255
可能是“头晕”了,我在编码中随意写出了如下代码:CCLabelTTF*lbl=CCLabelTTF::create("Hi,youhavesucceededinbuyingthisPower-up!","Arial",32);
lbl->setColor(ccc3(255,0,0));
lbl->setPosition(VisibleRect::center());
ul2->addChild(lbl,99);
CCActionInterval..
分类:
其他好文 时间:
2014-08-19 19:18:35
阅读次数:
205
1.ifconfigifconfig主要是能手动启动、观察和修改网络接口的相关参数,能修改的参数非常多,包括IP参数及MTU等都能修改,他的语法如下:[root@linux~]#ifconfig{interface}{up|down}一般来说,直接输入ifconfig就会列出目前已被启动的卡,不论这个卡是否有设置IP,都会被显示出..
分类:
系统相关 时间:
2014-08-19 16:53:05
阅读次数:
219
我们维护两个指针, 它们之间的距离为n。然后,我将这两个指针同步地在这个单链表上移动,保持它们的距离 为n不变。那么,
当第二个指针指到空时,第一个指针即为所求。
#include
struct Node
{
int data;
Node* next;
};
void initList(Node* vNode)
{
for (int i=0; i < 20; ++i)
{...
分类:
其他好文 时间:
2014-08-19 01:00:33
阅读次数:
257
这里先暂时记录下代码流程,有待完善。
static int
construct(struct ofproto *ofproto_)
{
struct ofproto_dpif *ofproto = ofproto_dpif_cast(ofproto_);
const char *name = ofproto->up.name;
int max_ports;
...
分类:
其他好文 时间:
2014-08-18 22:08:43
阅读次数:
418
bnu 12639 Cards
dp求期望
区分 全局最优选择 和 当前最优选择。
本题是当前最优选择。
状态表示:
double dp[16][16][16][16][5][5];
bool vis[16][16][16][16][5][5];
状态下参数:
vector up, vector tmp。
so,记忆化搜索 + 回溯
//#pragma warning ...
分类:
其他好文 时间:
2014-08-18 20:33:42
阅读次数:
421
缩写原意: Overflow of = OV NV [No Overflow] Direction df = DN (decrement) UP (increment) Interrupt if = EI (enabled) DI (disabled) Sign sf = NG (negative)...
分类:
编程语言 时间:
2014-08-18 18:06:32
阅读次数:
417
基本框架:a) Vi的三种工作模式b) 编辑模式c) 插入模式d) 命令模式1、 Vi的三种工作模式 2、 编辑模式:不能所见即所得l 光标定位k 上移;j 下移;h 左移;l 右移。ctrl+f 在文件中前移一页(相当于page down)。ctrl+b 在文件中后移一页(相当于page up)....
分类:
其他好文 时间:
2014-08-18 15:59:32
阅读次数:
219