Generates SQL INSERTs for defining services in the security table S_SERVICE, reads each Actions config.xml under /WEB-INF/action or the path level you define, and prints SQL statements SecurityGen.java
The Perfect Stall Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 14473 Accepted: 6621 题目链接:http://poj.org/problem?id1274 Description Farmer John completed his new barn just last week, complete with all the latest milking tec…
What is AIDC? Why is it good for your business?
Automatic Identification and Data Collection (AIDC) are the terms used to describe direct entry of data into a computer system, programmable logic controller (PLC) or other microprocessor-controlled device…
Heavy Transportation Time Limit: 3000MS Memory Limit: 30000K Total Submissions: 15487 Accepted: 4026 题目链接http://poj.org/problem?id1797 Description
Background Hugo Heavy is happy. After the breakdown of the Cargolifter project he can nowex…
Ehcache 1.5.0 User Guide - Code Samples代码实例1
Ehcache 1.5.0 用户指南) E_mail:jianglike18163.con Blog: http://blog.csdn.net/jianglike18 qq:29396597
8、Code Samples(代码实例) This page shows some of the more common cod…
Tangled in Cables Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 4841 Accepted: 1947 题目连接:http://poj.org/problem?id2075
Description
You are the owner of SmallCableCo and have purchased thefranchise rights for a small town.…
The Unique MST Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 14582 Accepted: 5035 题目连接:http://poj.org/problem?id1679
Description
Given a connected undirectedgraph, tell if its minimum spanning tree is unique. Definition …
Agri-Net Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 28121 Accepted: 11149 题目链接:http://poj.org/problem?id1258
Description
Farmer John has been electedmayor of his town! One of his campaign promises was to bring internet…
在Linux中,trap命令主要用于接收信号并采取行动,信号是异步发送到一个程序的事件,在默认情况下,可以终止一个程序,trap命令原型如下:
trap command signal
signal是指接收到的信号,command是接…
Stars Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 22828 Accepted: 9949 题目链接:http://poj.org/problem?id2352
Description
Astronomers often examine star maps wherestars are represented by points on a plane and each star has…
COURSES Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 13861 Accepted: 5481 题目链接:http://poj.org/problem?id1469
Description
Consider a group of N students and P courses.Each student visits zero, one or more than one courses…
Watchcow Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 4550 Accepted: 1898 Special Judge 题目链接:http://poj.org/problem?id2230
Description
Bessies been appointed thenew watch-cow for the farm. Every night, its her job to wa…
题目连接:http://poj.org/problem?id2388 Whos in the MiddleTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 22478 Accepted: 12864 Description FJ is surveying his herd to find the most average cow. He wants to know how much milk this medi…
<?xml version"1.0" encoding"utf-8"?><home.page><para>This is text containing two processing instructions,<?javascript I can put whatever I like here?><?prel And I can put whatever I like here too?>one…
当你在某个缓存中存储数据时,常常需要在运行时调整该缓存的大小,以便能容纳更多的数据。
下面是一个增加初始缓存大小的例子: 仔细琢磨一下........ // console.cpp : Defines the entry point for the console application.//#include &quo…
http://www.sina.com.cn 2005/02/01 10:39 国际在线 语音讲解: 如不能正常收听请点击此处 Administrators and authority figures like to speak in clichs. All my life I heard the same trite line: "You can tell a lot about a person…
Counting Black Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 8951 Accepted: 5775 题目链接:http://poj.org/problem?id1656
Description
There is a board with 100 *100 grids as shown below. The left-top gird is denoted as (1, 1) a…
这个发生挺有意思的,有时候我们打乱文档元素原有的顺序,比方说对元素顺序进行倒转Reverse
但是有时候又需要取回原有的顺序,这个时候就可以使用InDocumentOrder,下面是例子 XDocument xDocument new XDocument( new XElement("BookPar…
Heavy Cargo Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 2264 Accepted: 1252 题目链接:http://poj.org/problem?id2263
Description
Big Johnsson Trucks Inc. is acompany specialized in manufacturing big trucks. Their latest model…
Highways Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 16037 Accepted: 7460 题目链接:http://poj.org/problem?id2485
Description
The island nation of Flatopiais perfectly flat. Unfortunately, Flatopia has no public highways. So…
此题关键要理解输出的定义 For each test case, you should output a line contains an integer, which is the length of the longest road to be built such that all the villages are connected, and this value is minimum.输出是最小生成树中最长边的长度 对prim算法稍作…
今天用JQuery解决一个选择的问题,因为id或者class都不能相同。但是定义了多个class全都去写js的话又太复杂了,这时就想到了for,JQ里面的for是each这里简单的介绍一下它的用法,主要是完成上面描述class多个的问题。 for(int i 0;i…
B - Build TheElectric System
Crawling in process...Crawlingfailed Time Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu
Submit Status
题目连接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode2966
Descr…
source:http://jcraane.blogspot.com/2009/02/introduction-to-genetic-algorithms-with.html 偶然遇见的好文章,共享之。
Introduction to Genetic Algorithms with JGAP Out of interest I am familiarizing myself in genetic algorithms, in short GA. My int…
A Simple Problem with Integers Time Limit: 5000MS Memory Limit: 131072K Total Submissions: 31675 Accepted: 8989 Case Time Limit: 2000MS 题目链接:http://poj.org/problem?id3468
Description
You have N integers, A1, A2,... ,AN. You need t…
S3C2410的I/O口,datasheet上P266上面有这样一段话:
PORT PULL-UP REGISTER (GPBUP-GPHUP)The port pull-up register controls the pull-up resister enable/disable of each port group. When the correspondingbit is 0, the pull-up resister of th…
Domino Effect Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 5637 Accepted: 1425 题目链接:http://poj.org/problem?id1135
Description
Did you know that you can use domino bones for otherthings besides playing Dominoes? Take a n…
Helen: This is Real English from BBC Learning English. I’m Helen.Zoe: 大家好,我是刘佳。Helen, 今天咱们要学的是什么最新表达呢?
Helen: Today’s new expression is ‘bottom line’.Zoe: Bottom line. Helen, 这个短语说的是什么啊?…
Channel Allocation Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 9669 Accepted: 4919 题目链接:http://poj.org/problem?id1129 Description
When a radio station is broadcasting over a very largearea, repeaters are used to retransm…
题目链接:http://poj.org/problem?id3258 River HopscotchTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 3829 Accepted: 1649 Description Every year the cows hold an event featuring a peculiar version of hopscotch that involves carefully …
题目链接:http://poj.org/problem?id1730 Perfect Pth PowersTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 13099 Accepted: 2990 Description We say that x is a perfect square if, for some integer b, x b2. Similarly, x is a perfect cube …
Johns trip Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 5455 Accepted: 1774 Special Judge 题目链:http://poj.org/problem?id1041 Description
Little Johnny has got a new car. He decided to drivearound the town to v…
Truck History Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 12456 Accepted: 4713 题目链接:http://poj.org/problem?id1789
Description
Advanced Cargo Movement, Ltd.uses trucks of different types. Some trucks are used for vegetab…
Labeling Balls Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 7681 Accepted: 2060 题目链接:http://poj.org/problem?id3687
Description
Windy has N balls of distinct weights from 1unitto Nunits. Now he tries to label them with…
Ugly Windows Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 822 Accepted: 228 题目链接:http://poj.org/problem?id3923
Description
Sheryl works for a softwarecompany in the country of Brada. Her job is to develop a Windows opera…
Minimal Ratio Tree Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 836 Accepted: 304 题目链接:http://poj.org/problem?id3925
Description
For a tree, which nodes and edges are all weighted, the ratio of it iscalculated according …
Phone List
Time Limit: 3000/1000 MS (Java/Others) Memory Limit:32768/32768 K (Java/Others) Total Submission(s): 4602 Accepted Submission(s): 1557
题目连接:http://acm.hdu.edu.cn/showproblem.php?pid1671
Problem Description
Given a list of p…
DistributingBallot Boxes
Time Limit: 20000/10000 MS (Java/Others) Memory Limit:65536/32768 K (Java/Others) Total Submission(s): 310 Accepted Submission(s): 154
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid4190
Problem Description
Tod…
这个题目直接用的暴力枚举,但是还是WA了几次
原因是这句话You should process all pairs of integers and for each pair determine the maximum cycle length over all integers between and including i and j.
注意i可能大于j,此时需要交换顺序&a…
Oracle SQL JOIN 1.JOIN的基本概念: A join is a SQL query that extracts information from two or more tables or views. When you specify multiple tables or views in the FROM clause of a query, Oracle performs a join, linking rows from mu…
Google Earth 体验
Peter Lee 2005.05.12 videosky.9126.com Google Earth是什么?电子版的地球仪,坐在电脑前巡游世界的工具,从整个地球的画面zoom到每个街道的工具。我第一次接触Google Earth,就被它的强大功能深深地震住了。下…
1 我的世界不允许你的消失,不管结局是否完美. No matter the ending is perfect or not, you cannot disappear from my world. 2 爱情是一个精心设计的谎言 Love is a carefully designed lie. 3 承诺常常很像蝴蝶,美丽的飞盘旋然后不见 Promises are often…
转载: http://scikit-learn.sourceforge.net/dev/auto_examples/cluster/plot_cluster_comparison.html Comparing different clustering algorithms on toy datasets This example aims at showing characteristics of different clustering algorithms on dataset…
SPF Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 3790 Accepted: 1727 题目连接:http://poj.org/problem?id1523
Description
Consider the two networks shown below.Assuming that data moves around these networks only between direct…
Selecting Courses Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 7144 Accepted: 3141 题目链接:http://poj.org/problem?id2239
Description
It is well knownthat it is not easy to select courses in the college, for there is usually…
Gopher II Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 5341 Accepted: 2216 题目链接:http://poj.org/problem?id2536
Description
The gopher family, having averted the caninethreat, must face a new predator. The are n gophers …
Counting Black Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 8951 Accepted: 5775 题目链接:http://poj.org/problem?id1656
Description
There is a board with 100 *100 grids as shown below. The left-top gird is denoted as (1, 1) a…
Philip J. Fry Problem
Time Limit:2000MS Memory Limit:0KB 64bit IO Format:%lld& %llu
Submit Status Practice UVA 12324
Description
题目链接:http://uva.onlinejudge.org/index.php?optioncom_onlinejudge&Itemid8&pageshow_pr…
Arctic Network Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 5764 Accepted: 2007 题目链接:http://poj.org/problem?id2349
Description
The Department of NationalDefence (DND) wishes to connect several northern outposts by a wire…
Arbitrage Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 10954 Accepted: 4608 题目链接:http://poj.org/problem?id2240
Description
Arbitrage is the use of discrepancies in currencyexchange rates to transform one unit of a curren…
18、对数组迭代 Array类有个我们希望的标准的迭代器each。但是,它还其它很有用的迭代器。reverse_each 方法以逆序迭代。它先使用reverse计算然后使用each,但它更快。这儿是个例子:words %w(Son I am able she said)str ""words.…
水题,太简单了,就是写代码,想都不用想 Problem DescriptionTo Chinese people, 8 is a lucky number. Now your task is to judge if a number is lucky.We say a number is lucky if it’s a multiple of 8, or the sum of digits that make…
Stockbroker Grapevine Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 20810 Accepted: 11278 题目链接:http://poj.org/problem?id1125 Description
Stockbrokers are known to overreact to rumours. You havebeen contracted to dev…
Play on Words Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 7173 Accepted: 2519 题目链接:http://poj.org/problem?id1386 Description
Some of the secret doorscontain a very interesting word puzzle. The team of archaeologis…
Freckles Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 5248 Accepted: 2720 题目:http://poj.org/problem?id2560
Description
In an episode of the Dick VanDyke show, little Richie connects the freckles on his Dads back to form ap…
题目链接:http://poj.org/problem?id1152 An Easy Problem!Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 7708 Accepted: 1847 Description Have you heard the fact "The base of every normal number system is 10" ? Of course, I am…
递归查询文件名.vbs
dim ws,fso,f,fd,files,tmpname,url,result,preFixset wscreateobject("wscript.shell") set fso CreateObject("Scripting.FileSystemObject") set fd fso.getfolder(ws.currentdirectory) set filesfd.files 生成前缀resultws.cur…
查询文件名(带日期及大小)_0714_1655.vbs dim ws,fso,f,fd,files,tmpname,url,result,preFixset wscreateobject("wscript.shell") set fso CreateObject("Scripting.FileSystemObject") set fd fso.getfolder(ws.currentdirectory) set filesfd.files …
A Bugs Life Time Limit: 10000MS Memory Limit: 65536K Total Submissions: 21871 Accepted: 7142 题目链接:http://poj.org/problem?id2492
Description
Background Professor Hopper is researching the sexual behavior of a rare species of bugs.He a…
1.先看看在glibc malloc的实现机制
/* This struct declaration is misleading (but accurate and necessary). It declares a "view" into memory allowing access to necessary fields at known offsets from a given base. See explanation below. */ st…
1.Life was like a box of chocolates, you never know what you’re gonna get. (生命就像一盒巧克力,结果往往出人意料) 2.Stupid is as stupid does. (蠢人做蠢事,也可理解为傻人有傻福) 3.Miracles happen every day. (奇迹每天都在发生) 4.It made…
8题只做出4题比较easy的题,而且做得挺麻烦,看来还要多练练。
AC的题如下
NEUOJ 1112 I Love Apple DescriptionSo many people love apple and there is a problem about apple.An Apple Word is a word that consists of only the letters A, P, L, …
下面是一篇关于unix进程管理的文章,摘自《Automating System Administration with perl》即查看当前系统的活动进程,进程状态,进程资源占用情况,等等。文章介绍了四种方法:调用外部的PS程序;读内核的进程表…
Ralph Kimball在《The Data Warehouse Toolkit》一书中,将维度建模的过程归纳为四个步骤:
确定业务流程(Select the business process to model) 确定分析粒度(Declare the grain of the business process) 确定维度(Choose the dimensions that apply …
;; NAME: OPTION.A; DESC: Configuration options for .S files; HISTORY:; 02.28.2002: ver 0.0; 03.11.2003: ver 0.0 attached for 2440.; jan E, 2004: ver0.03 modified for 2440A01.;;这个Option.inc文件主要是为设置时钟服务的,选择好分频系数
;Start addr…
http://www.en8848.com.cn/yingyu/33/n-125933.html 1 节制 [Temperance] Eat not to dullness and drink not to elevation. 食不可饱,饮不可醉。 2 少言 [Silence] Speak not but what may benefit others or yourself. Avoid trifling conversation. …
解读文献:Sparse subspace clustering (cvpr09)
现有的子空间聚类方法,可分为六大类: (本人感觉大都很陌生,) 迭代的:K-subspaces, fitting a subspace to each cluster. 统计的:mixtures of probabilisti…