- 博客(21)
- 收藏
- 关注
原创 fzu2218 Simple String Problem
Accept: 2 Submit: 16 Time Limit: 2000 mSec Memory Limit : 32768 KB Problem Description Recently, you have found your interest in string theory. Here is an interesting question about st
2015-12-28 11:09:19 846
原创 hdu 01 Matrix
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 605 Accepted Submission(s): 127 Problem Description It's really a simple problem.
2015-12-27 17:52:32 780
原创 hdu5135 Little Zu Chongzhi's Triangles
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 512000/512000 K (Java/Others) Total Submission(s): 1165 Accepted Submission(s): 655 Problem Description Zu Chongzhi (429–500) was
2015-12-11 18:56:07 943
原创 codeforces 580D. Kefa and Dishes
time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output When Kefa came to the restaurant and sat at a table, the waiter
2015-12-11 15:46:20 934
原创 hdu5438 Ponds
Time Limit: 1500/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 2677 Accepted Submission(s): 850 Problem Description Betty owns a lot of ponds,
2015-12-11 13:59:07 742
原创 hdu3306 Another kind of Fibonacci
Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 2046 Accepted Submission(s): 813 Problem Description As we all known , the Fibona
2015-12-10 13:31:50 563
原创 hdu5564 Clarke and digits
Time Limit: 5000/3000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 144 Accepted Submission(s): 84 Problem Description Clarke is a patient with multi
2015-12-09 20:20:45 747 3
原创 1006 How many?
Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 36 Accepted: 2 Description 有一天,小Q给了小J一些数字,让小J帮忙找到其中最大的数,由于小J是一个程序猿,当然写了一个代码很快的解决了这个问题。这时,邪恶的小Y又出现了,他问小J,假如我只需要知道这些数字
2015-12-07 20:15:54 549
原创 hdu2157 How many ways??
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2181 Accepted Submission(s): 816 Problem Description 春天到了, HDU校园里开满了花, 姹紫嫣红, 非常美丽
2015-12-07 11:27:01 403
原创 UVALive 7276 Wooden Signs
详细题目见:http://7xjob4.com1.z0.glb.clouddn.com/0f10204481da21e62f8c145939e5828e 思路:记dp[i][j]表示第i个木板尾部在j的方案数。那么对于i+1,可以分三种情况讨论,一种是i+1的头部在第i根整段的左边,一种是在右边,还有在中间,中间的有两种情况,其他都只有一种,然后就可以转移了。 #include #includ
2015-12-05 21:48:22 888
原创 hdu4291 A Short problem
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2383 Accepted Submission(s): 833 Problem Description According to a research, V
2015-12-05 20:53:54 436
原创 A - Promotions
题目详见http://7xjob4.com1.z0.glb.clouddn.com/3f644de6844d64706eb36baa3a0c27b0 这题是普通的拓扑排序,要把每一层的都保存下来。 #include #include #include #include #include #include #include #include #include #include #include
2015-12-05 17:56:33 557
原创 hdu4686 Arc of Dream
Time Limit: 2000/2000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others) Total Submission(s): 3354 Accepted Submission(s): 1055 Problem Description An Arc of Dream is a curve
2015-12-05 10:54:46 439
原创 hdu2604 Queuing
Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3712 Accepted Submission(s): 1680 Problem Description Queues and Priority Queues
2015-12-04 19:33:53 396
原创 poj3757 Training little cats
Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 11496 Accepted: 2815 Description Facer's pet cat just gave birth to a brood of little cats. Having considered the he
2015-12-04 15:56:45 498
原创 poj3233 Matrix Power Series
Time Limit: 3000MS Memory Limit: 131072K Total Submissions: 18578 Accepted: 7858 Description Given a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3 +
2015-12-04 14:43:10 421
原创 zoj1074 To the Max
Problem Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1 x 1 or greater located within the whole array. The sum of a rectangle
2015-12-04 12:45:02 353
原创 hdu1024 Max Sum Plus Plus
Max Sum Plus Plus Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 21752 Accepted Submission(s): 7282 Problem Description Now I t
2015-12-04 09:48:31 559
原创 fzu2198 快来快来数一数
Accept: 204 Submit: 627 Time Limit: 1000 mSec Memory Limit : 65536 KB Problem Description n个六边形排成一行,相邻两个六边形共用一条边,如下图所示: 记这个图形的生成树个数为t(n)(由于每条边都是不同的,不存在同构的问题)。那么t(1)=6,t(2)=35…… 给出n
2015-12-03 20:03:10 606
原创 nyoj301 递推求值
递推求值 时间限制:1000 ms | 内存限制:65535 KB 难度:4 描述 给你一个递推公式: f(x)=a*f(x-2)+b*f(x-1)+c 并给你f(1),f(2)的值,请求出f(n)的值,由于f(n)的值可能过大,求出f(n)对1000007取模后的值。 注意:-1对3取模后等于2 输入第一行是一个整数T,表示测试数据
2015-12-02 15:40:20 413
原创 poj3070 Fibonacci
Fibonacci Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 11510 Accepted: 8179 Description In the Fibonacci integer sequence, F0 = 0, F1 = 1, and Fn = Fn
2015-12-01 21:33:08 440
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人