- 博客(83)
- 资源 (3)
- 收藏
- 关注
原创 hdoj 4419 Colourful Rectangle 【线段树 + 扫描线】
Colourful RectangleTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1460 Accepted Submission(s): 593Problem DescriptionWe use
2016-01-31 19:37:11 496
原创 hdoj 4411 Arrest 【费用流 + 最短路】
ArrestTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1731 Accepted Submission(s): 682Problem DescriptionThere are (N+1) citi
2016-01-31 19:36:36 535
原创 hdoj 4415 Assassin’s Creed 【贪心】
Assassin’s CreedTime Limit: 5000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2554 Accepted Submission(s): 570Problem DescriptionEzio Audit
2016-01-31 19:29:19 473
原创 hdoj 4417 Super Mario 【树状数组 + 思维】
Super MarioTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4046 Accepted Submission(s): 1866Problem DescriptionMario is world
2016-01-31 19:28:57 501
原创 hdoj 4414 Finding crosses 【枚举】
Finding crossesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2032 Accepted Submission(s): 1075Problem DescriptionThe Nazca
2016-01-31 19:28:44 331
原创 hdoj 5619 Jam's store 【最小费用最大流】
Jam's storeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 8 Accepted Submission(s): 3Problem DescriptionJam didn't study wel
2016-01-31 19:28:26 453
原创 hdoj 5617 Jam's maze 【dp】
Jam's mazeTime Limit: 3000/1500 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 48 Accepted Submission(s): 17Problem DescriptionJam got into a maze
2016-01-31 19:27:58 685 1
原创 hdoj 5616 Jam's balance 【母函数】
Jam's balanceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 148 Accepted Submission(s): 63Problem DescriptionJim has a balan
2016-01-31 19:27:34 516
原创 hdoj 5615 Jam's math problem 【求根式】
Jam's math problemTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 51 Accepted Submission(s): 27Problem DescriptionJam has a m
2016-01-31 19:27:10 337
原创 吐槽
寒假果然没有暑假让人省心。本来计划今天上午做一套题,下午开搞LCT。谁知道昨天晚上11点XX突然告诉我明天同学聚会。。。过几天还要回老家,还有几次聚会要去。表示计划全乱了o(╯□╰)o寒假已经过了一小半了,自己没有任何进度,也不知道队友怎么样了,心急。什么都尽力去做,扪心自问没有多少自己惭愧的事情,结果却是那么苍白无力,真是不甘心。吐槽一下吧,希望自己好好努力。
2016-01-29 10:30:17 479 4
原创 hdoj 5044 Tree 【树链剖分】
TreeTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 3039 Accepted Submission(s): 524Problem DescriptionYou are given a tree
2016-01-28 19:28:23 516
原创 hdoj 5052 Yaoge’s maximum profit 【树链剖分】
Yaoge’s maximum profitTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 870 Accepted Submission(s): 244Problem DescriptionYaog
2016-01-28 19:28:05 573
原创 hdoj 3804 Query on a tree 【树链剖分 + 思维】
Query on a treeTime Limit: 15000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 934 Accepted Submission(s): 203Problem Description There are
2016-01-28 19:27:51 406
原创 hdoj 5458 Stability 【并查集 + 树链剖分】
StabilityTime Limit: 3000/2000 MS (Java/Others) Memory Limit: 65535/102400 K (Java/Others)Total Submission(s): 1184 Accepted Submission(s): 259Problem DescriptionGiven an undirec
2016-01-28 19:27:36 413
原创 lightoj 1348 - Aladdin and the Return Journey 【树链剖分】
1348 - Aladdin and the Return Journey PDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBFinally the Great Magical Lamp was in Alad
2016-01-28 19:27:17 425
原创 fzoj 2082 过路费 【树链剖分】
Problem 2082 过路费 Accept: 513 Submit: 1603Time Limit: 1000 mSec Memory Limit : 32768 KB Problem Description有n座城市,由n-1条路相连通,使得任意两座城市之间可达。每条路有过路费,要交过路费才能通过。每条路的过路费经常会更新,现问你,当前情况
2016-01-28 19:26:45 392
原创 BZOJ 1036: [ZJOI2008]树的统计Count 【树链剖分】
1036: [ZJOI2008]树的统计CountTime Limit: 10 Sec Memory Limit: 162 MBSubmit: 10395 Solved: 4215[Submit][Status][Discuss]Description一棵树上有n个节点,编号分别为1到n,每个节点都有一个权值w。我们将以下面的形式来要求你对这棵树完成一些操作: I. C
2016-01-27 17:34:06 407
原创 BZOJ 2243: [SDOI2011]染色 【树链剖分】
2243: [SDOI2011]染色Time Limit: 20 Sec Memory Limit: 512 MBSubmit: 4577 Solved: 1709[Submit][Status][Discuss]Description给定一棵有n个节点的无根树和m个操作,操作有2类:1、将节点a到节点b路径上所有点都染成颜色c;2、询问节点
2016-01-27 17:18:34 490
原创 hdoj 3966 Aragorn's Story 【树链剖分】
Aragorn's StoryTime Limit: 10000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7271 Accepted Submission(s): 1909Problem DescriptionOur prota
2016-01-27 15:53:32 459
原创 SPOJ QTREE - Query on a tree 【树链剖分】
QTREE - Query on a tree#number-theoryYou are given a tree (an acyclic undirected connected graph) with N nodes, and edges numbered 1, 2, 3...N-1.We will ask you to perfrom some instruc
2016-01-27 15:53:20 430
原创 第十一届“蓝狐网络杯”湖南省大学生计算机程序设计竞赛
后来才知道K题正式赛时没人AC,应该去做I题的。 o(╯□╰)oA题链接:A没敢看。。。感觉是神题。B题链接:B处理出整数部分和小数部分,比较下就好了。AC代码:#include #include #include #include #include #include #include #include #incl
2016-01-26 18:38:17 1197 2
原创 Coderforces 617C Watering Flowers 【暴力】
C. Watering Flowerstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA flowerbed has many flowers and two fo
2016-01-24 16:25:04 808
原创 Codeforces 617E XOR and Favorite Number 【莫队】
E. XOR and Favorite Numbertime limit per test4 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputBob has a favorite number k and
2016-01-24 16:24:52 1485
原创 Codeforces 617D Polyline 【枚举】
D. Polylinetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are three points marked on the coordinate
2016-01-24 16:24:28 855
原创 Codeforces 617B Chocolate 【dp】
B. Chocolatetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBob loves everything sweet. His favorite chocol
2016-01-24 16:24:08 851
原创 Codeforces 617A Elephant 【水题】
A. Elephanttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAn elephant decided to visit his friend. It turn
2016-01-24 16:23:55 892
原创 hdoj 5612 Baby Ming and Matrix games 【DFS 暴力】
Baby Ming and Matrix gamesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 82 Accepted Submission(s): 26Problem DescriptionThe
2016-01-23 22:19:38 624
原创 hdoj 5611 Baby Ming and phone number 【模拟】
Baby Ming and phone numberTime Limit: 3000/1500 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 22 Accepted Submission(s): 9Problem DescriptionBaby
2016-01-23 22:19:18 450
原创 hiho week 81 【拓扑排序】
P1 : Professor Q's SoftwareTime Limit:10000msCase Time Limit:1000msMemory Limit:256MBDescriptionProfessor Q develops a new software. The software consists of N modules wh
2016-01-23 17:32:29 438
原创 last contest
还是自己太SB。卡水题卡半小时,呵呵。。。 SBA题链接:A中文题,不多说了。思路:第i个数与第j个数之和不等于第p个数和第q个数之和(任意的j AC代码:#include #include #include #include #include #include #include #
2016-01-23 17:31:18 327
原创 hdoj 5249 KPI 【STL】
KPITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1093 Accepted Submission(s): 469Problem Description你工作以后, KPI 就是你的全部了. 我开发
2016-01-15 22:21:59 316
原创 hdoj 5248 序列变换 【贪心 + 二分】
序列变换Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 897 Accepted Submission(s): 410Problem Description给定序列A={A1,A2,...,An},
2016-01-15 22:21:31 360
原创 hdoj 5247 找连续数 【思维】
找连续数Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1169 Accepted Submission(s): 418Problem Description小度熊拿到了一个无序的数组,对于这个数组,小
2016-01-15 22:21:11 369
原创 hdoj 5246 超级赛亚ACMer 【贪心+二分】
超级赛亚ACMerTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2136 Accepted Submission(s): 578Problem Description百小度是一个ACMer,也是一个超
2016-01-15 22:20:54 364
原创 hdoj 1755 A Number Puzzle 【STL】
A Number PuzzleTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1185 Accepted Submission(s): 367Problem DescriptionLele 最近上课的时
2016-01-15 22:20:40 398
原创 hdoj 4826 Labyrinth 【dp】
LabyrinthTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 556 Accepted Submission(s): 255Problem Description度度熊是一只喜欢探险的熊,一次偶然落
2016-01-14 20:24:12 380
原创 hdoj 4825 Xor Sum 【字典树】
Xor SumTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 132768/132768 K (Java/Others)Total Submission(s): 1020 Accepted Submission(s): 411Problem DescriptionZeus 和 Prometheus
2016-01-14 20:23:55 461
原创 hdoj 4824 Disk Schedule 【TSP】
Disk ScheduleTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 384 Accepted Submission(s): 176Problem Description有很多从磁盘读取数据的需求,
2016-01-14 20:23:15 363
原创 hdoj 4823 Energy Conversion 【模拟】
Energy ConversionTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1253 Accepted Submission(s): 487Problem Description 魔法师百小度也
2016-01-14 20:22:49 413
原创 hdoj 2224 && poj 2677 The shortest path 【TSP】
The shortest pathTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1174 Accepted Submission(s): 597Problem DescriptionThere are
2016-01-14 20:22:31 409
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人