yum install policycoreutils-python
分类:
其他好文 时间:
2014-05-10 07:59:06
阅读次数:
163
将Activity显示成Dialog的形式:Tip: If you want a custom
dialog, you can instead display an Activity as a dialog instead of using the
Dialog APIs. Simply creat...
分类:
其他好文 时间:
2014-05-10 07:52:33
阅读次数:
369
Substring时间限制:1000 ms | 内存限制:65535 KB难度:1描述You
are given a string input. You are to find the longest substring of input such
that the reversal of the ...
分类:
其他好文 时间:
2014-05-10 06:20:56
阅读次数:
257
Jump Game Given an array of non-negative
integers, you are initially positioned at the first index of the array. Each
element in the array represents ...
分类:
其他好文 时间:
2014-05-10 03:13:50
阅读次数:
481
------------------------------------转---------------------------------In
this tutorial we are going to see how to deploy JAX-WS Web Services on Tomcat...
分类:
其他好文 时间:
2014-05-10 03:05:08
阅读次数:
564
绿色版本,解压缩D:\Software\mysql-advanced-5.6.18-winx64my-default.ini
改名my.inimy.ini内容如下# For advice on how to change settings please see#
http://dev.mysql.c...
分类:
数据库 时间:
2014-05-10 02:30:15
阅读次数:
495
Problem DescriptionThere are N villages, which
are numbered from 1 to N, and you should build some roads such that every two
villages can connect to e...
分类:
其他好文 时间:
2014-05-10 02:28:50
阅读次数:
374
链接:http://soj.me/show_problem.php?pid=1735&cid=
Description
Let me introduce an easy method of encryption to you.
Suppose there’re N bytes (1 byte = 8 bits) data that are to be encrypted and ...
分类:
其他好文 时间:
2014-05-09 22:46:01
阅读次数:
498
题目链接:
http://acm.timus.ru/problem.aspx?space=1&num=1114
1114. Boxes
Time limit: 0.6 second
Memory limit: 64 MB
N boxes are lined up in a sequence (1 ≤ N ≤ 20). You have A red ball...
分类:
其他好文 时间:
2014-05-09 21:58:58
阅读次数:
471
题意:
题意好复杂。。。
给定n个人,从左到右排好队。
他们依次从左到右离开队伍。
每个人有个权值d
当某个人是第k-th离开队伍的,那么不开心值为 d*(k-1)
有一个操作,对于一个子序列,可以把前面一段翻转。
问最小的不开心值和。
#include
#include
#include
#include
#include
#include
using namespace...
分类:
其他好文 时间:
2014-05-09 20:45:04
阅读次数:
288