SPOJ XMAX - XOR Maximization
摘要:XMAX - XOR Maximization Given a set of integers S = { a1, a2, a3, ... a|S| }, we define a function X on S as follows:X( S ) = a1 ^ a2 ^ a3 ^ ... ^ a|S
阅读全文
posted @
2016-09-08 16:42
Beserious
阅读(468)
推荐(0) 编辑
2015-2016 ACM-ICPC Pacific Northwest Regional Contest (Div. 2) S Surf
摘要:SurfNow that you've come to Florida and taken up surng, you love it! Of course, you've realized thatif you take a particular wave, even if it's very
阅读全文
posted @
2016-08-13 21:25
Beserious
阅读(474)
推荐(0) 编辑
Codeforces Round #367 (Div. 2) D. Vasiliy's Multiset
摘要:D. Vasiliy's Multiset time limit per test 4 seconds time limit per test memory limit per test 256 megabytes memory limit per test input standard input
阅读全文
posted @
2016-08-12 13:49
Beserious
阅读(465)
推荐(0) 编辑
Codeforces Round #228 (Div. 2) C. Fox and Box Accumulation
摘要:C. Fox and Box Accumulation time limit per test 1 second time limit per test memory limit per test 256 megabytes memory limit per test input standard
阅读全文
posted @
2016-08-10 23:01
Beserious
阅读(212)
推荐(0) 编辑
HDU 5805 NanoApe Loves Sequence
摘要:NanoApe Loves Sequence Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/131072 K (Java/Others)Total Submission(s): 421 Accepted Submission(
阅读全文
posted @
2016-08-07 09:57
Beserious
阅读(367)
推荐(0) 编辑
HDU1052Tian Ji -- The Horse Racing
摘要:Tian Ji -- The Horse Racing Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 26683 Accepted Submis
阅读全文
posted @
2016-08-05 20:51
Beserious
阅读(337)
推荐(0) 编辑
HDU 5762Teacher Bo
摘要:Teacher Bo Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 133 Accepted Submission(s): 84 Probl
阅读全文
posted @
2016-07-26 19:13
Beserious
阅读(200)
推荐(0) 编辑
Codeforces Round #361 (Div. 2)A. Mike and Cellphone
摘要:A. Mike and Cellphone time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Mike and Cellpho
阅读全文
posted @
2016-07-07 23:12
Beserious
阅读(216)
推荐(0) 编辑
hiho 1326 有序01字符串
摘要:时间限制:10000ms 单点时限:1000ms 内存限制:256MB 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 对于一个01字符串,你每次可以将一个0修改成1,或者将一个1修改成0。那么,你最少需要修改多少次才能把一个01串 S 变为有序01字符串(有序01字符
阅读全文
posted @
2016-07-03 00:30
Beserious
阅读(343)
推荐(0) 编辑
SRM691 Sunnygraphs2
摘要:Problem Statement Hero has just constructed a very specific graph. He started with n isolated vertices, labeled 0 through n-1. For each vertex i Hero
阅读全文
posted @
2016-06-01 21:12
Beserious
阅读(225)
推荐(0) 编辑
Codeforces Round #354 (Div. 2) C. Vasya and String
摘要:C. Vasya and String time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output High school student V
阅读全文
posted @
2016-05-26 16:42
Beserious
阅读(187)
推荐(0) 编辑
Uva 3902 Network
摘要:题目大意: 在非叶子节点上安装最少的服务器使得,每个叶子节点到服务器的距离不超过k。 贪心+图上的dfs。 先从深度最大的叶子节点开始找。找到父节点后再用这个父节点进行扩充。
阅读全文
posted @
2016-05-10 23:39
Beserious
阅读(227)
推荐(0) 编辑
C.Candy
摘要:There are NN children standing in a line. Each child is assigned a rating value. You are giving candies to these children subjected to the following r
阅读全文
posted @
2016-04-24 17:33
Beserious
阅读(361)
推荐(0) 编辑
HDU 5627Clarke and MST
摘要:Clarke and MST Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 315 Accepted Submission(s): 176 Pr
阅读全文
posted @
2016-02-16 20:43
Beserious
阅读(274)
推荐(0) 编辑
贞鱼传教&&贞鱼传教(数据加强版)
摘要:http://acm.buaa.edu.cn/problem/1381/ 贞鱼传教【问题描述】 新的一年到来了,贞鱼哥决定到世界各地传授“贞教”,他想让“贞教”在2016年成为世界第四大宗教。说干就干......贞鱼哥把即将接受传教的人排成一行,每个人从左到右的编号为1-n。每个人有一个信仰值,一开
阅读全文
posted @
2016-01-28 21:26
Beserious
阅读(316)
推荐(0) 编辑
IRRIGATION LINES
摘要:IRRIGATIONLINESTime Limit:2000ms,Special Time Limit:5000ms,Memory Limit:65536KBTotal submit users:6,Accepted users:6Problem 13449 :No special judgemen...
阅读全文
posted @
2015-10-06 19:36
Beserious
阅读(193)
推荐(0) 编辑
Codeforces Round #Pi (Div. 2) C. Geometric Progression
摘要:C. Geometric Progressiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp loves geometric ...
阅读全文
posted @
2015-08-25 16:18
Beserious
阅读(217)
推荐(0) 编辑
Codeforces Beta Round #25 (Div. 2 Only) C. Roads in Berland
摘要:C. Roads in Berlandtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere arencities numbered fro...
阅读全文
posted @
2015-08-24 19:53
Beserious
阅读(277)
推荐(0) 编辑
HDU 5410 CRB and His Birthday
摘要:CRB and His BirthdayTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 341Accepted Submission(s): 181...
阅读全文
posted @
2015-08-21 15:27
Beserious
阅读(217)
推荐(0) 编辑
UVA 11624 Fire!
摘要:数据:34 4#####JF##..##..#3 3FFFFJFFFF3 3....J....嗯,被第三个数据卡啦半天....两次BFS 预处理一下每个点最早着火的时间./* ***********************************************Author :...
阅读全文
posted @
2015-08-20 00:34
Beserious
阅读(187)
推荐(0) 编辑