- 博客(19)
- 资源 (10)
- 收藏
- 关注
原创 【DFS+题意】#24 A. Ring road
A. Ring roadtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputNowadays the one-way traffic is introduced all
2014-05-31 17:33:11 741
原创 第二次codeforces竞技结束 #249 Div 2
A. Queue on Bus Stoptime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIt's that time of the year when the Rus
2014-05-31 01:45:35 1056
原创 【strstr】#23 A. You're Given a String...
A. You're Given a String...time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou're given a string of lower-
2014-05-30 15:29:03 831
原创 【水hash】#22 A. Second Order Statistics
A. Second Order Statisticstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOnce Bob needed to find the seco
2014-05-30 14:21:09 805
原创 【模拟+读入】#21 A. Jabber ID
A. Jabber IDtime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputJabber ID on the national Berland service «Babb
2014-05-30 13:49:28 979
原创 【水I/O】#20 A. BerOS file system
A. BerOS file systemtime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputThe new operating system BerOS has a ni
2014-05-28 23:48:23 1211
原创 【map+审题】#19 A. World Football Cup
A. World Football Cuptime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputEveryone knows that 2010 FIFA World Cu
2014-05-28 20:12:37 1402
转载 【DFS_双调旅行商_Tri树_dp】网络搜集: AStar2014资格赛_解题报告
include #include const int maxn = 10000;int dfs(long long n,long long m,long long v,long long k,int tim){ if(n<=m)return tim; if(m<v || (m-v)*k<=m)return -1; return dfs(n,(m-v)*k,v,k,
2014-05-25 18:02:26 739
原创 【&&】 0525_1001.Scenic Popularity Astar第二战_Failed
Scenic PopularityTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 60 Accepted Submission(s): 13Problem Description 临近节日,度度熊们最
2014-05-25 17:30:53 799
原创 【取模除法+较大组合数】 0524_1002.Grids Astar第二战_Failed
GridsTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0Problem Description 度度熊最近很喜欢玩游戏。这一天他在纸上画了一个
2014-05-24 17:43:04 1392
原创 【不理解求解释】@CQU2014 校赛_D.Dp 标程阅读
ProblemD. DPinput:dp.in output: dp.out 动态规划(英语:Dynamicprogramming,DP)是一种在数学、计算机科学和经济学中使用的,通过把原问题分解为相对简单的子问题的方式求解复杂问题的方法。动态规划常常适用于有重叠子问题和最优子结构性质的问题,动态规划方法所耗时间往往远少于朴素解法。动态规划背后的基本思想非常简单。大致上,若要
2014-05-12 01:08:07 881
原创 【sprintf+数论】@CQU2014 校赛_C.Count 标程阅读
ProblemC. Countinput:count.in output: count.out 计数是一个重复加(或减)1的数学行为,通常用于算出物件有多少个或放置想要之数目个物件(对第一个物件从一算起且将剩下的物件和由二开始的自然数做一对一对应)。此外,计数亦可以被(主要是被儿童)使用来学习数字名称和数字系统的知识。由现今的考古证据可以推测人类计数的历史至少有五万年,并由此发展导
2014-05-11 16:14:38 714
原创 【rcmp】@CQU2014 校赛_B.Board 标程阅读
Problem B. Boardinput: board.in output: board.outACM国际大学生程序设计竞赛(英语:ACM International Collegiate Programming Contest, ICPC)是由美国计算机协会(ACM)主办的,一项旨在展示大学生创新能力、团队精神和在压力下编写程序、分析和解决问题能力的年度竞赛。经过30多年的发展
2014-05-11 15:44:58 785
原创 【sscanf】@CQU2014 校赛_A.Algorithm 标程阅读
ProblemA. Algorithminput:algorithm.in output: algorithm.out 简单来说,所谓算法(algorithm)就是定义良好的计算过程,它取一个或一组值作为输入,并产生出一个或一组值作为输出。亦即,算法就是一系列的计算步骤,用来将输入数据转换成输出结果。我们还可以将算法看作是一种工具,用来解决一个具有良好规格说明的计算问题。有关该问题
2014-05-11 15:04:41 744
原创 【水枚举】#18 A. Triangle
#includeusing namespace std;int move[4][2]={{0,1},{1,0},{0,-1},{-1,0}};bool isR(int x1,int y1,int x2,int y2,int x3,int y3){ int a,b,c; a=(x1-x2)*(x1-x2)+(y1-y2)*(y1-y2); b=(x1-x3)*(x1-x3)+(y1-y
2014-05-09 01:05:35 797
原创 【水遍历\打表】#17 A. Noldbach problem
A. Noldbach problemtime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputNick is interested in prime numbers. Onc
2014-05-07 17:16:03 753
原创 【水】#16 A. Flag
A. Flagtime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputAccording to a new ISO standard, a flag of every cou
2014-05-07 16:02:15 699
原创 【Pair】#15 A. Cottage Village
A. Cottage Villagetime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputA new cottage village called «Flatville»
2014-05-04 01:20:54 904
【PSP录制工具】RemoteJoy_Lite_019_CHT
2018-03-25
From Online Behaviors to Offline Retailing
2016-07-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人