- 博客(22)
- 资源 (4)
- 收藏
- 关注
原创 Codeforces Round #197 (Div. 2)
-----------------A. Helpful Maths----将一个由+和123组成的式子从小到大排序...----#include #include #include #include using namespace std;const int maxn=1111;char s[maxn];vectorvc;int main(){
2013-08-29 18:52:47 659
原创 zoj 3195 Design the city LCA
Design the cityTime Limit: 1 Second Memory Limit: 32768 KBCerror is the mayor of city HangZhou. As you may know, the traffic system of this city is so terrible, that there are traffic j
2013-08-28 16:53:36 829
原创 UVALive 4513 Stammering Aliens 字符串Hash求LCS
DescriptionDr. Ellie Arroway has established contact with an extraterrestrial civilization. However, all efforts to decode their messages have failed so far because, as luck would have it, the
2013-08-27 20:45:46 824
原创 UVA 11996 Jewel Magic Splay+Hash
DescriptionProblem JJewel MagicI am a magician. I have a string of emeralds and pearls. I may insert new jewels in the string, or remove old ones. I may even reverse a consecutive part
2013-08-27 20:41:56 1292
原创 UVA 11922 Permutation Transformer Splay
Description Permutation Transformer Write a program to transform the permutation 1, 2, 3,..., n according to m instructions. Each instruction (a, b) means to take out
2013-08-24 18:48:56 735
原创 对拍程序
*.bat@echo off :loop rand.exe > data.in std.exe std.out my.exe my.out fc my.out std.out if not errorlevel 1 goto loop pause goto loop
2013-08-24 18:43:17 688
原创 hdu 3726 Graph and Queries 名次树
Graph and QueriesTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1333 Accepted Submission(s): 267Problem DescriptionYou are
2013-08-23 09:56:11 1226
原创 【Code Library】不超过25个页面的材料
---------------一、模板---1、NGUNSTTD-POName: NeverGiveUpNeverSurrenderTerribleTerribleDamage-PowerOverwhelmingUsage: Put it before main functionTags: 头文件 循环 常用语句---/** head-file **/
2013-08-12 15:52:25 2023
原创 uva 11178 Morley's Theorem 点线
DescriptionProblem DMorley’s TheoremInput: Standard InputOutput: Standard Output Morley’s theorem states that that the lines trisecting the angles of an arbitrary plane triangle meet at
2013-08-12 10:16:05 581
原创 POJ 2112 Optimal Milking 二分图最大匹配+二分答案
Optimal MilkingTime Limit: 2000MS Memory Limit: 30000KTotal Submissions: 10010 Accepted: 3630Case Time Limit: 1000MSDescriptionFJ has moved his K (1 <= K
2013-08-10 13:51:29 846
原创 poj 1459 Power Network 最大流建图练习
Power NetworkTime Limit: 2000MS Memory Limit: 32768KTotal Submissions: 20743 Accepted: 10866DescriptionA power network consists of nodes (power stations, consum
2013-08-10 10:44:20 1158
原创 poj 3683 Priest John's Busiest Day 2-SAT
Priest John's Busiest DayTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 7055 Accepted: 2405 Special JudgeDescriptionJohn is the only priest in hi
2013-08-10 10:09:22 884
原创 poj 3678 Katu Puzzle 2-SAT
Katu PuzzleTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 6702 Accepted: 2463DescriptionKatu Puzzle is presented as a directed graph G(V, E) with eac
2013-08-09 19:41:02 620
原创 poj 3648 Wedding 2-SAT
WeddingTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 6919 Accepted: 2127 Special JudgeDescriptionUp to thirty couples will attend a wedding feas
2013-08-09 17:48:22 926
原创 POJ 3207 Ikki's Story IV - Panda's Trick 2-SAT
Ikki's Story IV - Panda's TrickTime Limit: 1000MS Memory Limit: 131072KTotal Submissions: 6914 Accepted: 2565Descriptionliympanda, one of Ikki’s friend, likes
2013-08-09 11:42:49 862
原创 poj 2762 Going from u to v or from v to u? 强连通最长链
Going from u to v or from v to u?Time Limit: 2000MS Memory Limit: 65536KTotal Submissions: 12695 Accepted: 3274DescriptionIn order to make their sons brave, Jia
2013-08-07 17:12:15 855
原创 poj 1659 Frogs' Neighborhood havel定理
Frogs' NeighborhoodTime Limit: 5000MS Memory Limit: 10000KTotal Submissions: 6048 Accepted: 2621 Special JudgeDescription未名湖附近共有N个大小湖泊L1, L2, ..., Ln(其中包括未名
2013-08-07 16:24:36 787
原创 poj3635Full Tank? 广搜最短路
Full Tank?Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 5754 Accepted: 1891DescriptionAfter going through the receipts from your car trip through Eu
2013-08-07 15:16:42 1472
原创 poj3621 Sightseeing Cows bellman-ford 判负权环
Sightseeing CowsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 6908 Accepted: 2291DescriptionFarmer John has decided to reward his cows for their har
2013-08-07 14:32:06 895
原创 POJ 3613 Cow Relays Floyd最短路
Cow RelaysTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 4590 Accepted: 1823DescriptionFor their physical fitness program, N (2 ≤ N ≤ 1,000,000) cows h
2013-08-07 13:35:26 956
原创 POJ 3463 Sightseeing dijkstra
SightseeingTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 6415 Accepted: 2265DescriptionTour operator Your Personal Holiday organises guided bus trip
2013-08-06 11:28:59 1155
原创 【专题】二分搜索
【序】二分用的一点不熟,做个专题好了。---------------------一、从有序数组中查找某个值---------------------二、假定一个解并判断是否可行1、POJ1064有N条绳子长度为Li。从中切割出K条长度相同的绳子,求这K条绳子最长能有多长。const int maxn=11111;int n,k;double
2013-08-04 20:09:24 930
CSDN博客导出器2014/8/22
2014-08-22
(键)脑操语言解释器 brainfuck
2014-07-04
【Java】推箱子小游戏
2014-01-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人