最大流+拆点#include#include#include#include#include#include#includeusing namespace std;const int maxn=1000+10;const int INF=0x7FFFFFFF;struct Edge{ int ...
分类:
其他好文 时间:
2015-08-19 11:06:27
阅读次数:
149
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4292解法:拆人代码:#include
#include
#include
#include
#include
#include
#include <functiona...
分类:
其他好文 时间:
2015-08-19 07:07:30
阅读次数:
136
第一次发博。 - -刚无聊看到群里一位朋友在提问,大晚上没人解答,遂自己默默打开了VS,敲起了代码。问题:请问怎么将集合newFoods中Name含有"包子"的Number+1,LINQ可以一句话写出来 ?List newFoods = new List{ new Food { Money =...
分类:
其他好文 时间:
2015-08-19 01:58:49
阅读次数:
101
模块之间有三种调用方式: 1、同步调用 同步调用很简单,就是直接调用方法B,必须等到方法A执行完才会继续执行原程序。 2、异步调用 异步调用,就是在A程序中给程序B一个实现,当B运行的时候,在满足条件的情况下能够调用A程序中的实现。举例说明public interface Food{ ...
分类:
编程语言 时间:
2015-08-18 22:40:20
阅读次数:
187
FoodTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3658Accepted Submission(s): 1246Problem Descri...
分类:
其他好文 时间:
2015-08-18 11:41:09
阅读次数:
124
hdu 2433 TravelDescription
One day, Tom traveled to a country named BGM. BGM is a small country, but there are N (N <= 100) towns in it. Each town products one kind of food, the food will be tra...
分类:
其他好文 时间:
2015-08-17 21:48:16
阅读次数:
173
FatMouse' Trade
Problem Description
FatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his favorite food, JavaBean.
The warehouse has N roo...
分类:
编程语言 时间:
2015-08-16 16:39:29
阅读次数:
137
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3469
Food Delivery
Time Limit: 2 Seconds
Memory Limit: 65536 KB
When we are focusing on solving problems, we usually p...
分类:
其他好文 时间:
2015-08-16 09:27:17
阅读次数:
110
题意:在X-轴上有一个餐厅,以及有n个点要送外卖。餐厅坐标为x,工人的速度为V-1,也就是 1/v 米每分钟(不是v米每分钟)。给出n的点的x坐标和参数v,外卖没送到,客户就会不愉快,每一分钟的不愉快指数增加v。问怎么样的送货策略,使得所有客户的总不愉悦指数和最小。...
分类:
其他好文 时间:
2015-08-16 00:44:41
阅读次数:
82
H -Gathering FoodTime Limit:2000MSMemory Limit:32768KB64bit IO Format:%lld & %lluSubmitStatusPracticeLightOJ 1066Appoint description:DescriptionWinter...
分类:
其他好文 时间:
2015-08-12 01:12:48
阅读次数:
227