上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 35 下一页
摘要: 描述 小城和小华都是热爱数学的好学生,最近,他们不约而同地迷上了数独游戏,好胜的他们想用数独来一比高低。但普通的数独对他们来说都过于简单了,于是他们向 Z博士请教,Z 博士拿出了他最近发明的“靶形数独” ,作为这两个孩子比试的题目。 靶形数独的方格同普通数独一样,在 9 格宽×9 格高的大九宫格中有 阅读全文
posted @ 2016-10-02 16:05 Candy? 阅读(475) 评论(0) 推荐(0)
摘要: Find a path Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1536 Accepted Submission(s): 673 Prob 阅读全文
posted @ 2016-10-02 14:19 Candy? 阅读(327) 评论(0) 推荐(0)
摘要: 链接:Destroying Array C. Destroying Array time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output 链 阅读全文
posted @ 2016-10-02 14:08 Candy? 阅读(3274) 评论(0) 推荐(0)
摘要: [2017-04-25] dinic里一堆括号别打错.... [2017-04-21] 多项式运算时 常数1之类的不要加给每一项.... [2017-04-02] 小心一些不起眼的地方炸int,如传参数的时候,不会提前类型转换 [2017-03-30] 反转模式串,b[m-1-i]=t[i]不是b[ 阅读全文
posted @ 2016-10-02 13:58 Candy? 阅读(499) 评论(0) 推荐(4)
摘要: D. Generating Sets time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Generating Sets ti 阅读全文
posted @ 2016-10-02 13:55 Candy? 阅读(325) 评论(0) 推荐(0)
摘要: NanoApe Loves Sequence Ⅱ Accepts: 374 Submissions: 946 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 262144/131072 K (Java/Others) NanoApe Love 阅读全文
posted @ 2016-10-01 18:19 Candy? 阅读(215) 评论(0) 推荐(0)
摘要: C. Journey time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output C. Journey time limit per tes 阅读全文
posted @ 2016-10-01 17:46 Candy? 阅读(1219) 评论(0) 推荐(0)
摘要: Maze Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 3818 Accepted: 1208 Description Acm, a treasure-explorer, is exploring again. This tim 阅读全文
posted @ 2016-10-01 16:35 Candy? 阅读(435) 评论(0) 推荐(0)
摘要: LCIS Accepts: 109 Submissions: 775 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) LCIS Accepts: 109 Submissions: 775 阅读全文
posted @ 2016-10-01 14:27 Candy? 阅读(429) 评论(0) 推荐(0)
摘要: Square Distance Accepts: 73 Submissions: 598 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Square Distance Accepts: 阅读全文
posted @ 2016-10-01 14:21 Candy? 阅读(232) 评论(0) 推荐(0)
摘要: C. Efim and Strange Grade time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Efim and Str 阅读全文
posted @ 2016-10-01 10:37 Candy? 阅读(3122) 评论(0) 推荐(0)
摘要: Codeforces Round #371 (Div. 2) A. Meeting of Old Friends |B. Filya and Homework A. Meeting of Old Friends 模拟 A. Meeting of Old Friends 模拟 模拟 #include 阅读全文
posted @ 2016-10-01 10:30 Candy? 阅读(714) 评论(0) 推荐(0)
摘要: Send a TableInput: Standard Input Output: Standard Output When participating in programming contests, you sometimes face the following problem: You kn 阅读全文
posted @ 2016-10-01 00:26 Candy? 阅读(159) 评论(0) 推荐(0)
摘要: Bigger is Better Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1106 Accepted Submission(s): 27 阅读全文
posted @ 2016-10-01 00:19 Candy? 阅读(315) 评论(0) 推荐(0)
摘要: 题意: 有个老式计算器,每次只能记住一个数字的前n位。现在输入一个整数k,然后反复平方,一直做下去,能得到的最大数是多少。例如,n=1,k=6,那么一次显示:6,3,9,1... 白书上的题 set,hash都占空间也不快 裸floyd判圈 洛谷U4984 阅读全文
posted @ 2016-09-30 23:57 Candy? 阅读(382) 评论(0) 推荐(0)
摘要: 题目背景 kkk被Farmer John和他的奶牛贝茜虐的很惨,然后她也想体验下一个Farmer的生活。但她又懒得种地,就选择养鱼。 题目描述 这些鱼都是热带鱼(废话),很娇贵(比kkk娇贵),要经常换水,要不然每当kkk走过来的时候鱼们就会一起使劲拍尾巴导致kkk并不情愿的洗个冷水澡(别问我热带鱼 阅读全文
posted @ 2016-09-30 23:51 Candy? 阅读(256) 评论(0) 推荐(0)
摘要: 题意:给括号匹配涂色,红色蓝色或不涂,要求见原题,求方案数 区间DP 用栈先处理匹配 f[i][j][0/1/2][0/1/2]表示i到ji涂色和j涂色的方案数 l和r匹配的话,转移到(l+1,r-1) 不匹配,i的匹配p一定在l和r之间,从p分开转移 听说用记忆化搜索比较快,可以像树形DP那样写记 阅读全文
posted @ 2016-09-30 21:40 Candy? 阅读(510) 评论(0) 推荐(0)
摘要: Multiplication Puzzle Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 8737 Accepted: 5468 Description The multiplication puzzle is played w 阅读全文
posted @ 2016-09-30 15:51 Candy? 阅读(191) 评论(0) 推荐(0)
摘要: Brackets Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 6585 Accepted: 3534 Description We give the following inductive definition of a “r 阅读全文
posted @ 2016-09-30 14:32 Candy? 阅读(734) 评论(0) 推荐(0)
摘要: Channel Allocation Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 14601 Accepted: 7427 Description When a radio station is broadcasting ov 阅读全文
posted @ 2016-09-30 14:07 Candy? 阅读(817) 评论(0) 推荐(0)
摘要: 1004 四子连棋 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold 1004 四子连棋 1004 四子连棋 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Go 阅读全文
posted @ 2016-09-30 12:08 Candy? 阅读(833) 评论(0) 推荐(0)
摘要: 1230 多重hash练习一下,不用也可以 2875 字符串哈希,26进制 阅读全文
posted @ 2016-09-29 22:56 Candy? 阅读(287) 评论(0) 推荐(0)
摘要: 描述 错误就是人们所说的Bug。用户在使用软件时总是希望其错误越少越好,最好是没有错误的。但是推出一个没有错误的软件几乎不可能,所以很多软件公司都在疯狂地发放补丁(有时这种补丁甚至是收费的)。T公司就是其中之一。 上个月,T公司推出了一个新的字处理软件,随后发放了一批补丁。最近T公司发现其发放的补丁 阅读全文
posted @ 2016-09-29 22:53 Candy? 阅读(323) 评论(0) 推荐(0)
摘要: Mobile Computing Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 666 Accepted: 224 Special Judge Description There is a mysterious planet c 阅读全文
posted @ 2016-09-28 23:43 Candy? 阅读(202) 评论(0) 推荐(0)
摘要: Find The Multiple Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 27433 Accepted: 11408 Special Judge Description Given a positive integer 阅读全文
posted @ 2016-09-28 17:43 Candy? 阅读(155) 评论(0) 推荐(0)
摘要: 1085: [SCOI2005]骑士精神 Description 在一个5×5的棋盘上有12个白色的骑士和12个黑色的骑士, 且有一个空位。在任何时候一个骑士都能按照骑士的走法(它可以走到和它横坐标相差为1,纵坐标相差为2或者横坐标相差为2,纵坐标相差为1的格子)移动到空位上。 给定一个初始的棋盘, 阅读全文
posted @ 2016-09-28 17:14 Candy? 阅读(799) 评论(0) 推荐(0)
摘要: Watchcow Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 7512 Accepted: 3290 Special Judge Description Bessie's been appointed the new watc 阅读全文
posted @ 2016-09-28 12:41 Candy? 阅读(196) 评论(0) 推荐(0)
摘要: Catch That Cow Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 77420 Accepted: 24457 Description Farmer John has been informed of the locat 阅读全文
posted @ 2016-09-28 12:04 Candy? 阅读(173) 评论(0) 推荐(0)
摘要: A Knight's Journey Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 41936 Accepted: 14269 Description Background The knight is getting bored 阅读全文
posted @ 2016-09-27 23:55 Candy? 阅读(265) 评论(0) 推荐(0)
摘要: Apple Tree Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 9989 Accepted: 3324 Description Wshxzt is a lovely girl. She likes apple very mu 阅读全文
posted @ 2016-09-27 12:49 Candy? 阅读(1567) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 35 下一页