我的蓝桥杯攀登之路
文章平均质量分 58
RNGZUOZUO
欢迎各位大神,喷子前来指教,喷累了别忘了教教我题目该怎么做呦!
展开
-
求最大利益的算法
ACM入门算法。。PS:找不到原题了,555555原创 2017-03-27 20:13:45 · 674 阅读 · 0 评论 -
迷宫的最短路径(局限版)
//书上的例题,算法竞赛入门经典!!敲了一晚上终于AC了!!!还是水题。。#include#include#include#include#include#include#include#include#includeusing namespace std;const int MAX_N=10;const int MAX_M=10;const int INF = 100000000;typedef原创 2017-03-31 23:26:58 · 274 阅读 · 0 评论 -
poj2386结题报告
DescriptionDue to recent rains, water has pooled in various places in Farmer John’s field, which is represented by a rectangle of N x M (1 <= N <= 100; 1 <= M <= 100) squares. Each square contains原创 2017-03-30 23:52:57 · 249 阅读 · 0 评论 -
DFS入门问题1(水题)
//第一次做DFS的题感觉自己是真的菜啊!!!!//明天开始DFS专项训练!!!//说下题目要求,就是给你数组从中找出几个数是否使他和为K。。#include#include#include#include#include#include#include#include#include#includeusing namespace std;int flag,n,p,a[101],c[1001]原创 2017-03-30 12:47:06 · 1099 阅读 · 0 评论 -
poj1852蚂蚁题。
AntsTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 17376 Accepted: 7407DescriptionAn army of ants walk on a horizontal pole of length l cm, each with a原创 2017-03-29 13:02:18 · 292 阅读 · 0 评论 -
uva10474
Where is the Marble? DescriptionRaju and Meena love to play with Marbles. They have got a lot of marbles with numbers written on them. At the beginning, Raju would place the marbles one after a原创 2017-03-28 23:14:47 · 242 阅读 · 0 评论 -
最大子列和的问题
运用动态规划解决!!!!给定K个整数组成的序列{ N1, N2, ..., NK },“连续子列”被定义为{ Ni, Ni+1, ..., Nj },其中 1 输入格式:输入第1行给出正整数 K (输出格式:在一行中输出最大子列和。如果序列中所有整数皆为负数,则输出0。输入样例:6-2 11 -4 13 -5 -2输出样例:20/我简单的说下做法:(今天找了几道数据结构的题目来做)//在这一遍原创 2017-04-01 20:17:59 · 599 阅读 · 0 评论