。。。

导航

随笔分类 -  比赛练习

1 2 下一页

【Educational Codeforces Round 33 B】Beautiful Divisors
摘要:B. Beautiful Divisors time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Recently Luba lear 阅读全文

posted @ 2017-11-24 12:41 大学僧 阅读(159) 评论(0) 推荐(0)

【 Educational Codeforces Round 33 A】Chess For Three
摘要:A. Chess For Three time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Alex, Bob and Carl wil 阅读全文

posted @ 2017-11-24 10:32 大学僧 阅读(206) 评论(0) 推荐(0)

河南省第七届大学生程序设计竞赛 问题 B: 海岛争霸
摘要:题目描述 神秘的海洋,惊险的探险之路,打捞海底宝藏,激烈的海战,海盗劫富等等。加勒比海盗,你知道吧?杰克船长驾驶着自己的的战船黑珍珠1号要征服各个海岛的海盜,最后成为海盗王。 这是一个由海洋、岛屿和海盗组成的危险世界。杰克船长准备从自己所占领的岛屿A开始征程,逐个去占领每一个岛屿。面对危险重重的海洋 阅读全文

posted @ 2017-08-22 16:33 大学僧 阅读(158) 评论(0) 推荐(0)

【练习赛2补题】poj 2325 Persistent Numbers 【高精度除法+贪心】
摘要:Description The multiplicative persistence of a number is defined by Neil Sloane (Neil J.A. Sloane in The Persistence of a Number published in Journal 阅读全文

posted @ 2017-08-18 22:13 大学僧 阅读(203) 评论(0) 推荐(0)

【练习赛2补题】zoj 2734 Exchange Cards 【DFS】
摘要:As a basketball fan, Mike is also fond of collecting basketball player cards. But as a student, he can not always get the money to buy new cards, so s 阅读全文

posted @ 2017-08-18 17:26 大学僧 阅读(130) 评论(0) 推荐(0)

【比赛练习ac题】poj2253+hdu2717+poj2387+poj1258【解题报告】
摘要:A - Catch That Cow Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 阅读全文

posted @ 2017-08-17 15:15 大学僧 阅读(193) 评论(0) 推荐(0)

【多校连萌2】D题 ykc想吃好吃的【补题】【最大子段和变形题】
摘要:题目描述一天,ykc在学校闲的无聊,于是决定上街买点吃的,ykc很懒,本来就不是很像逛街,于是找来了czl帮他买,这里应该有滑稽,而czl也不愿为ykc买东西吃,但是ykc很强势,非让他去买,呢没办法了,然而czl还有很多事要做,没呢么多时间帮ykc,而这条小吃街又很长,有n家店,n有50000这么... 阅读全文

posted @ 2017-08-05 09:49 大学僧 阅读(118) 评论(0) 推荐(0)

【多校连萌2】1281: 邪能炸弹【补题】
摘要:题目描述正在入侵艾泽拉斯的古尔丹偶然间得到了一颗邪能炸弹,经过研究,他发现这是一颗威力极其巨大且难以控制的炸弹。但是精通邪能的古尔丹突然有了一个大胆的想法,他对炸弹进行了一些小小的改造。这使得炸弹需要n天的充能才能爆炸,在这n天中,每天炸弹的邪能值都会产生波动,波动值为xi,古尔丹唯一能控制的是使邪... 阅读全文

posted @ 2017-08-05 06:14 大学僧 阅读(154) 评论(0) 推荐(0)

【多校连萌2】A 简单的背包问题【补题】
摘要:1279: 简单的背包问题时间限制: 1 秒 内存限制: 32 MB提交: 363 解决: 21提交 状态 题目描述相信大家都学过背包问题了吧,那么现在我就考大家一个问题。有n个物品,每个物品有它的重量w,价值v,现在有一个容量为W的背包,问你在不超过背包容量的情况下,能装下的物品的最大价值是多... 阅读全文

posted @ 2017-08-04 22:57 大学僧 阅读(221) 评论(0) 推荐(0)

[最小生成树入门专题1] zoj1203 E - 这是水题5
摘要:There exists a world within our world A world beneath what we call cyberspace. A world protected by firewalls, passwords and the most advanced securit... 阅读全文

posted @ 2017-08-02 12:05 大学僧 阅读(160) 评论(0) 推荐(0)

【最小生成树入门专题1】C - 这是水题3【prime】未用堆和邻接表
摘要:The Head Elder of the tropical island of Lagrishan has a problem. A burst of foreign aid money was spent on extra roads between villages some years ag... 阅读全文

posted @ 2017-08-02 09:13 大学僧 阅读(146) 评论(0) 推荐(0)

【最小生成树入门专题1】A - 这是水题1 hihocoder hiho一下第二十六周最小生成树【prime】
摘要:描述最近,小Hi很喜欢玩的一款游戏模拟城市开放出了新Mod,在这个Mod中,玩家可以拥有不止一个城市了!但是,问题也接踵而来——小Hi现在手上拥有N座城市,且已知这N座城市中任意两座城市之间建造道路所需要的费用,小Hi希望知道,最少花费多少就可以使得任意两座城市都可以通过所建造的道路互相到达(假设有... 阅读全文

posted @ 2017-08-02 00:34 大学僧 阅读(168) 评论(0) 推荐(0)

【最小生成树入门专题1】G - 这是水题7 hdu1863 + B - 这是水题2 hihoCoder 1098【kruskal】
摘要:省政府“畅通工程”的目标是使全省任何两个村庄间都可以实现公路交通(但不一定有直接的公路相连,只要能间接通过公路可达即可)。经过调查评估,得到的统计表中列出了有可能建设公路的若干条道路的成本。现请你编写程序,计算出全省畅通需要的最低成本。 Input测试输入包含若干测试用例。每个测试用例的第1行给出评... 阅读全文

posted @ 2017-08-02 00:29 大学僧 阅读(213) 评论(0) 推荐(0)

【搜索入门专题1】 hdu1242 J - Rescue c++ stl容器之优先队列+BFS
摘要:RescueProblem DescriptionAngel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M #include#include#i... 阅读全文

posted @ 2017-07-31 07:40 大学僧 阅读(254) 评论(0) 推荐(0)

【搜索入门专题1】E - Farm Irrigation 【BFS】ZOJ 2412
摘要:Farm IrrigationBenny has a spacious farm land to irrigate. The farm land is a rectangle, and is divided into a lot of samll squares. Water pipes are p... 阅读全文

posted @ 2017-07-30 17:43 大学僧 阅读(148) 评论(0) 推荐(0)

【搜索入门专题1】hdu2717 H - Catch That Cow 【BFS】
摘要:Catch That CowProblem DescriptionFarmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a po... 阅读全文

posted @ 2017-07-30 10:16 大学僧 阅读(190) 评论(0) 推荐(0)

【搜索入门专题1】hdu1548 G - A strange lift 【BFS】
摘要:A strange liftProblem DescriptionThere is a strange lift.The lift can stop can at every floor as you want, and there is a number Ki(0 #include#include... 阅读全文

posted @ 2017-07-30 09:34 大学僧 阅读(123) 评论(0) 推荐(0)

【搜索入门专题1】I - Knight Moves hdu1372 c++queue的应用 【BFS】
摘要:Knight MovesProblem DescriptionA friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour ... 阅读全文

posted @ 2017-07-29 17:35 大学僧 阅读(249) 评论(0) 推荐(0)

【搜索入门专题练习1】hdu1241+hdu1312 C+D【DFS】
摘要:C Oil DepositsProblem DescriptionThe GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works w... 阅读全文

posted @ 2017-07-29 14:54 大学僧 阅读(176) 评论(0) 推荐(0)

【搜索入门专题练习1】hdu1010 dfs奇偶剪枝 A题
摘要:A - Tempter of the Bone Problem DescriptionThe doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the ... 阅读全文

posted @ 2017-07-29 12:22 大学僧 阅读(198) 评论(0) 推荐(0)

1 2 下一页