运行sqlplus时遇到cannotrestoresegmentprotafterreloc:Permissiondenied,网上说可以吧SELinux关掉,但是我看了下我的系统已经关掉了,具体是编辑/etc/sysconfig/selinux,把SELINUX=enforcing一行注释掉,然后新加入一行:SELINUX=disabled,但是我这样做了以后,问题依旧,..
分类:
数据库 时间:
2014-07-23 00:26:48
阅读次数:
234
Problem Description
DouBiXp has a girlfriend named DouBiNan.One day they felt very boring and decided to play some games. The rule of this game is as following. There are k balls on the desk. Every...
分类:
其他好文 时间:
2014-07-23 00:05:27
阅读次数:
344
问题描述:
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
Determin...
分类:
其他好文 时间:
2014-07-23 00:04:37
阅读次数:
216
Problem HHelp is needed for DexterTime Limit: 3 SecondDexter is tired of Dee Dee. So he decided to keep Dee Dee busy in a game. The game he planned fo...
分类:
其他好文 时间:
2014-07-22 23:26:57
阅读次数:
301
Help Me with the Game
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 3344
Accepted: 2145
Description
Your task is to read a picture of a chessboard positi...
分类:
其他好文 时间:
2014-07-21 23:38:44
阅读次数:
265
直接上代码吧 1 package com.mygdx.game; 2 3 import com.badlogic.gdx.Gdx; 4 import com.badlogic.gdx.graphics.g2d.Animation; 5 import com.badlogic.gdx.graphic....
分类:
其他好文 时间:
2014-07-21 23:30:20
阅读次数:
360
博弈论里面一个非常重要的结论:如果前一个状态所有可能都是必败态,那么当前状态一定是必胜态。如果前一个状态所有可能有一个是必胜态,那么当前状态一定是必败态。POJ 2484 A Funny Game博弈游戏里面后手经常占据优势。除了A可以一次性全部拿光的情况,其他时候B都可以采取与A相同的策略,这样每...
分类:
其他好文 时间:
2014-07-21 23:30:20
阅读次数:
292
[oracle@jp ogg]$ ./ggsci
./ggsci: error while loading shared libraries: /u01/app/oracle/ogg/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
关闭selinux,首先修改参数
[root@jp ...
分类:
数据库 时间:
2014-07-21 23:27:50
阅读次数:
294
点击打开链接
题意:给你一张N个节点的无向图,然后给出M条边,给出第 I 条边到第J条边的距离。然后问你是否存在子环,如果存在,则输出最成环的最短距离和
解析:构图:选定源点及汇点,然后将源点至个点流量置为1,花费置为0.然后使用最小费用流,当返回值流量和,即flow
其余和tour一样求法,处理一下某两点距离为最短距离即可。
#include
#include
#include
#...
分类:
其他好文 时间:
2014-07-21 22:28:07
阅读次数:
251
Lighttpd绑定一个端口一般都是下面的方法.备忘一下.server.port=80如果需要绑定多个端口,可以这样.$SERVER["socket"]=="0.0.0.0:82"{
server.document-root="/oldyzzt_s2/webroot/game/"
}
$SERVER["socket"]=="0.0.0.0:83"{
server.document-root="/oldyzzt_s3/webroot/game/"
}
分类:
其他好文 时间:
2014-07-21 19:27:23
阅读次数:
616