02 2016 档案
摘要:B. Island Puzzle time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A remote island chain c
阅读全文
摘要:A. Orchestra time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Paul is at the orchestra. T
阅读全文
摘要:C. Spy Syndrome 2 time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output After observing the re
阅读全文
摘要:D. Fibonacci-ish time limit per test 3 seconds memory limit per test 512 megabytes input standard input output standard output Yash has recently learn
阅读全文
摘要:1102 - Problem Makes Problem As I am fond of making easier problems, I discovered a problem. Actually, the problem is 'how can you make n by adding k
阅读全文
摘要:描述 这一天,他来到了一座深山的山脚下,因为只有这座深山中的一位隐者才知道这种药草的所在。但是上山的路错综复杂,由于小小猪的病情,晴天小猪想找一条需时最少的路到达山顶,但现在它一头雾水,所以向你求助。 山用一个三角形表示,从山顶依次向下有1段、2段、3段等山路,每一段用一个数字T(1<=T<=100
阅读全文
摘要:C. Famil Door and Brackets time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output As Famil Door
阅读全文
摘要:Rikka with Graph Accepts: 123 Submissions: 525 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) 问题描述 众所周知,萌萌哒六花不擅长数学,所
阅读全文
摘要:D. Babaei and Birthday Cake As you know, every birthday party has a cake! This time, Babaei is going to prepare the very special birthday party's cake
阅读全文
摘要:详细讲解:http://blog.csdn.net/smartxxyx/article/details/9293665 下面贴上我的第一道最大流的题: hdu3549 DINIC算法
阅读全文
摘要:描述 在河上有一座独木桥,一只青蛙想沿着独木桥从河的一侧跳到另一侧。在桥上有一些石子,青蛙很讨厌踩在这些石子上。由于桥的长度和青蛙一次跳过的距离都是正整数,我们可以把独木桥上青蛙可能到达的点看成数轴上的一串整点:0,1,……,L(其中L是桥的长度)。坐标为0的点表示桥的起点,坐标为L的点表示桥的终点
阅读全文
摘要:C. Block Towers Students in a class are making towers of blocks. Each student makes a (non-zero) tower by stacking pieces lengthwise on top of each ot
阅读全文
摘要:食物链 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 57387 Accepted: 16781 Description 动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。 现有N个动
阅读全文
摘要:Count the string Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7190 Accepted Submission(s): 331
阅读全文
摘要:C. Not Equal on a Segment time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given a
阅读全文
摘要:Revolving Digits Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 24215 Accepted Submission(s): 52
阅读全文
摘要:而在26以内且属于fibonacci数列的数为1,2,3,5,8,13,21时间限制:10000ms单点时限:1000ms内存限制:256MB描述A string s is LUCKY if and only if the number of different characters in s is
阅读全文
摘要:http://www.matrix67.com/blog/archives/115 http://www.cnblogs.com/c-cloud/p/3224788.html 1 #include<stdio.h> 2 #include<algorithm> 3 #include<iostream>
阅读全文
摘要:圆桌问题Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 1038 Accepted Submission(s): 446Problem Descr
阅读全文
摘要:C. Graph and Stringtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day student Vasya was sit
阅读全文
摘要:JosephTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2126 Accepted Submission(s): 1291Problem De
阅读全文
摘要:Problem 2216 The Longest StraightAccept: 82 Submit: 203Time Limit: 1000 mSec Memory Limit : 32768 KB Problem DescriptionZB is playing a card game wher
阅读全文
摘要:C1. 组队活动 SmallTime Limit: 1000msMemory Limit: 131072KB64-bit integer IO format: %lld Java class name: MainSubmit Status PID: 51280BNU ACM校队一共有名队员,从到标号
阅读全文
摘要:A1. 道路修建 SmallTime Limit: 1000msMemory Limit: 131072KB64-bit integer IO format: %lld Java class name: MainSubmit Status无向图初始有个点,从到依次标号,但是没有边,接下来有次操作,从
阅读全文
摘要:Problem 2221 RunningManAccept: 130 Submit: 404Time Limit: 1000 mSec Memory Limit : 32768 KB Problem DescriptionZB loves watching RunningMan! There's a
阅读全文
摘要:E. Wet Shark and Blockstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are b blocks of dig
阅读全文