摘要: ArgusTime limit: 3.000 secondsA data stream is a real-time, continuous, ordered sequence of items. Some examples include sensor data, Internet traffic... 阅读全文
posted @ 2014-07-03 00:54 Panoss 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Time limit: 1.000 secondsEasy Problem from Rujia Liu?Though Rujia Liu usually sets hard problems for contests (for example, regional contests like Xi'... 阅读全文
posted @ 2014-07-03 00:27 Panoss 阅读(201) 评论(0) 推荐(0) 编辑
摘要: I Can Guess the Data Structure!Time limit: 1.000 secondsThere is a bag-like data structure, supporting two operations:1 xThrow an element x into the b... 阅读全文
posted @ 2014-06-29 19:55 Panoss 阅读(445) 评论(0) 推荐(0) 编辑
摘要: Graph and QueriesTime limit: 3.000 secondYou are given an undirected graph withNvertexes andMedges. Every vertex in this graph has an integer value as... 阅读全文
posted @ 2014-06-26 15:58 Panoss 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 时限:1000ms内存限制:10000K 总时限:3000ms描述一种新型的防卫导弹可截击多个攻击导弹。它可以向前飞行,也可以用很快的速度向下飞行,可以毫无损伤地截击进攻导弹,但不可以向后或向上飞行。但有一个缺点,尽管它发射时可以达到任意高度,但它只能截击比它上次截击导弹时所处高度低或者高度相同的导... 阅读全文
posted @ 2014-06-10 00:00 Panoss 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 跳马时限:1000ms内存限制:10000K总时限:3000ms描述:在国际象棋中,马的走法与中车象棋类似,即俗话说的“马走日”,下图所示即国际象棋中马(K)在一步能到达的格子(其中黑色的格子是能到达的位置)。现有一200*200大小的国际象棋棋盘,棋盘中仅有一个马,给定马的当前位置(S)和目标位置... 阅读全文
posted @ 2014-06-09 23:57 Panoss 阅读(772) 评论(0) 推荐(0) 编辑
摘要: Fast Matrix OperationsThere is a matrix containing at most 106elements divided into r rows and c columns. Each element has a location (x,y) where 10)2... 阅读全文
posted @ 2014-05-28 19:01 Panoss 阅读(223) 评论(0) 推荐(0) 编辑
摘要: Time Limit:5000MSMemory Limit:65536KTotal Submissions:32359Accepted:15229Case Time Limit:2000MSDescriptionFor the daily milking, Farmer John'sNcows (1... 阅读全文
posted @ 2014-05-22 22:16 Panoss 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 时限:1000ms内存限制:10000K 总时限:3000ms描述需对容量为c 的背包进行装载。从n 个物品中选取装入背包的物品,每件物品i 的重量为wi ,价值为pi 。对于可行的背包装载,背包中物品的总重量不能超过背包的容量,最佳装载是指所装入的物品价值最高。输入多个测例,每个测例的输入占三行。... 阅读全文
posted @ 2014-05-21 19:26 Panoss 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 时限:1000ms内存限制:10000K 总时限:3000ms描述在一个圆形操场的四周摆放着n堆石子(n#include#include#include#include#include#include#include#include#includeusing namespace std;#defin... 阅读全文
posted @ 2014-05-21 19:15 Panoss 阅读(273) 评论(0) 推荐(0) 编辑