会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
_大美
博客园
首页
新随笔
联系
管理
上一页
1
2
3
4
5
6
7
8
下一页
2018年4月1日
CodeForces - 907B Tic-Tac-Toe
摘要: Two bears are playing tic-tac-toe via mail. It's boring for them to play usual tic-tac-toe game, so they are a playing modified versio...
阅读全文
posted @ 2018-04-01 21:12 _大美
阅读(261)
评论(0)
推荐(0)
2018年3月31日
C - C HihoCoder - 1701
摘要: 给定N个整数A1, A2, ... AN,小Hi希望从中选出M个整数,使得任意两个选出的整数的差都是K的倍数。 请你计算有多少种不同的选法。由于选法可能非常多,你只需要输出对1000000009取模的结果。Input第一行包含三个整数N、M和K。 第二行包含N个整...
阅读全文
posted @ 2018-03-31 19:19 _大美
阅读(217)
评论(0)
推荐(0)
2018年3月30日
Codeforces Round #282 (Div. 1) A. Treasure
摘要: A. Treasuretime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputMalek has recently fo...
阅读全文
posted @ 2018-03-30 21:24 _大美
阅读(156)
评论(0)
推荐(0)
2018年3月12日
Codeforces Round #469 (Div. 2)
摘要: C. Zebrastime limit per test1 secondmemory limit per test512 megabytesinputstandard inputoutputstandard outputOleg writes down the his...
阅读全文
posted @ 2018-03-12 20:37 _大美
阅读(159)
评论(0)
推荐(0)
2018年3月8日
poj-2195 Going Home(费用流)
摘要: Going HomeTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 24304Accepted: 12198DescriptionOn a grid map there are n little men...
阅读全文
posted @ 2018-03-08 21:08 _大美
阅读(186)
评论(0)
推荐(0)
2018年1月19日
poj2711-Leapin' Lizards(最大流)
摘要: Leapin' LizardsTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 1792 Accepted: 704DescriptionYour platoon of wandering lizards...
阅读全文
posted @ 2018-01-19 17:05 _大美
阅读(131)
评论(0)
推荐(0)
2018年1月17日
UVa10480-Sabotage(最小割)
摘要: 10480 - SabotageThe regime of a small but wealthy dictatorship has been abruptly overthrown by an unexpected rebellion.Because of the ...
阅读全文
posted @ 2018-01-17 17:38 _大美
阅读(150)
评论(0)
推荐(0)
hdu-3605Escape(最大流,二进制)
摘要: EscapeTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 11694 Accepted Submis...
阅读全文
posted @ 2018-01-17 11:23 _大美
阅读(209)
评论(0)
推荐(0)
2018年1月16日
codeforces-913C Party Lemonade
摘要: C. Party Lemonadetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA New Year party...
阅读全文
posted @ 2018-01-16 21:01 _大美
阅读(437)
评论(0)
推荐(0)
nyoj 21三个水杯(搜索)
摘要: 三个水杯时间限制:1000 ms | 内存限制:65535 KB 难度:4描述 给出三个水杯,大小不一,并且只有最大的水杯的水是装满的,其余两个为空杯子。三个水杯之间相互倒水,并且水杯没有标识,只能根据给出的水杯体积来计算。现在要求你写出一个程序,使其输出使初始状...
阅读全文
posted @ 2018-01-16 20:50 _大美
阅读(131)
评论(0)
推荐(0)
2018年1月15日
2418-nyoj备用 song ming ti(网络流,最小割)
摘要: 2418 : song ming ti题目描述After a few years, the outbreak of the crisis in a biochemical virus K, tens of thousands of people infected wi...
阅读全文
posted @ 2018-01-15 21:32 _大美
阅读(94)
评论(0)
推荐(0)
2415nyoj备用-吃糖果(模拟,桶排)
摘要: 2415 : 吃糖果题目描述南阳理工附属幼儿园有m个小胖友。每天,这些小胖友都要吃很多很多糖果,Miss.miao是负责分发糖果的老师,由于工作量巨大,Miss.miao经常不能保证每个小胖友分到的糖果数量是一样的。如果存在两个小胖友的糖果数量的差值超过k,那么这些小...
阅读全文
posted @ 2018-01-15 11:42 _大美
阅读(154)
评论(0)
推荐(0)
2018年1月13日
hdu-4292 Food(最大流)dinic
摘要: FoodTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6598 Accepted Submissio...
阅读全文
posted @ 2018-01-13 10:20 _大美
阅读(125)
评论(0)
推荐(0)
2018年1月11日
nyoj284-坦克大战(搜索 bfs)
摘要: 坦克大战时间限制:1000 ms | 内存限制:65535 KB 难度:3描述 Many of us had played the game "Battle city" in our childhood, and some people (like me) eve...
阅读全文
posted @ 2018-01-11 20:42 _大美
阅读(162)
评论(0)
推荐(0)
POJ-1087 A Plug for UNIX(网络流)(EK,dinic,二分匹配)
摘要: A Plug for UNIXTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 17928 Accepted: 6200DescriptionYou are in charge of setting u...
阅读全文
posted @ 2018-01-11 16:44 _大美
阅读(147)
评论(0)
推荐(0)
codeforces 701BCells Not Under Attack
摘要: B. Cells Not Under Attacktime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya h...
阅读全文
posted @ 2018-01-11 08:28 _大美
阅读(189)
评论(0)
推荐(0)
2018年1月10日
nyoj 1321信息战(九)——水淹七军(搜索bfs)
摘要: 信息战(九)——水淹七军时间限制:1000 ms | 内存限制:65535 KB难度:3描述随着最后通牒的递出,C国的总攻也开始了,由于C国在地形上的优势,C国总司令下令采用水攻,剿灭A国最后的有生力量。地形图是一个M*N的矩阵,矩阵上每一个点都对应着当前点的高度...
阅读全文
posted @ 2018-01-10 21:30 _大美
阅读(388)
评论(0)
推荐(0)
nyoj 202红黑树 (搜索)
摘要: 红黑树时间限制:3000 ms | 内存限制:65535 KB 难度:3描述 什么是红黑树呢?顾名思义,跟枣树类似,红黑树是一种叶子是黑色果子是红色的树。。。当然,这个是我说的。。。《算法导论》上可不是这么说的:如果一个二叉查找树满足下面的红黑性质,那么则为一个红...
阅读全文
posted @ 2018-01-10 21:23 _大美
阅读(110)
评论(0)
推荐(0)
POJ 3281 Dining(最大流)
摘要: DiningTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 20181 Accepted: 8969DescriptionCows are such finicky eaters. Each cow ...
阅读全文
posted @ 2018-01-10 15:33 _大美
阅读(107)
评论(0)
推荐(0)
2018年1月9日
nyoj-488 素数环 +nyoj -32 组合数 (搜索)
摘要: 素数环时间限制:1000 ms | 内存限制:65535 KB 难度:2描述 有一个整数n,把从1到n的数字无重复的排列成环,且使每相邻两个数(包括首尾)的和都为素数,称为素数环。为了简便起见,我们规定每个素数环都从1开始。例如,下图就是6的一个素数环。输入有多组...
阅读全文
posted @ 2018-01-09 20:10 _大美
阅读(128)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告