- 博客(8)
- 资源 (1)
- 收藏
- 关注
原创 Codeforces PROB training 31.MAY
B. Sea and IslandsTime Limit: 1000msMemory Limit: 262144KB64-bit integer IO format: %I64d Java class name: (Any)Submit Status PID: 49309A map of some object is a rectangular field consisting of n
2015-05-31 22:53:37 342
原创 dp求最大子段(一维数组,二维数组)
例如一位数组 ss[]={12,-4,-6,2,-4,8,-6,11,-3} 求子串最大值 非常简单的dp#include #include "string.h"int main(){ int ss[]={12,-4,-6,2,-4,8,-6,11,-3},dp[9],max=0; memset(dp,0,sizeof(dp));
2015-05-28 21:00:02 620
原创 bnu 45518
Om Nom and Dark ParkTime Limit: 1000msMemory Limit: 262144KBThis problem will be judged on CodeForces. Original ID: 526B64-bit integer IO format: %I64d Java class name: (Any)
2015-05-18 20:57:44 560
原创 bnu 45519
Om Nom and CandiesTime Limit: 1000msMemory Limit: 262144KBThis problem will be judged on CodeForces. Original ID: 526C64-bit integer IO format: %I64d Java class name: (Any)P
2015-05-17 19:16:59 501
原创 bnu 45517
King of ThievesTime Limit: 1000msMemory Limit: 262144KBThis problem will be judged on CodeForces. Original ID: 526A64-bit integer IO format: %I64d Java class name: (Any)Prev
2015-05-17 18:12:48 538
原创 hdu 5214
吃了不少的TLE和WA 主要是开空间太烦 刚开始用数组开不了10000000的空间 用指针分配也出错 后来发现用结构体可以 Problem DescriptionCloud and Miceren like watching movies. Today, they want to choose some wonderful scenes fro
2015-05-10 18:47:19 488
原创 hdu 3791
第一次写二叉搜索树 这题很基础 比较适合我这种新手 只需要建好树后 前序或后序遍历即可#include "stdio.h"#include "string.h"#include "stdlib.h"typedefint keytype;int as[30],ss[30],n=0,leap;typedef struc
2015-05-05 20:31:38 373
原创 hdu 2087
正好练习了一下kmd算法 剪花布条Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10515 Accepted Submission(s): 6774Problem Description
2015-05-03 16:28:35 435
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人