自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Amaswz的博客

LL大法好!

  • 博客(28)
  • 收藏
  • 关注

原创 搬家

还是决定用个站amaswz.com债见~= =

2016-05-14 01:03:40 290

原创 poj 1573

Robot MotionTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 12256 Accepted: 5937DescriptionA robot has been programmed to follow the instructions in

2016-05-12 20:36:52 331

原创 poj 1068

题目大意:给出p密码串,p的定义为,找到p字串的每一个')',然后往右数统计'('的个数求w字串,w的定义为,找到')',然后统计与之匹配的'(',统计这个#include #include #include #include #include #include using namespace std;typedef long long ll;ll arr[25], an

2016-05-12 09:42:53 300

原创 poj 2506

TilingTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8761 Accepted: 4209DescriptionIn how many ways can you tile a 2xn rectangle by 2x1 or 2x2 tiles?

2016-05-11 20:13:25 475

原创 hihocoder -#1043 : 完全背包

#1043 : 完全背包时间限制:20000ms单点时限:1000ms内存限制:256MB描述且说之前的故事里,小Hi和小Ho费劲心思终于拿到了茫茫多的奖券!而现在,终于到了小Ho领取奖励的时刻了!等等,这段故事为何似曾相识?这就要从平行宇宙理论说起了………总而言之,在另一个宇宙中,小Ho面临的问题发生了细微的变化!小

2016-05-11 00:23:09 341

原创 hihocoder -#1037 : 数字三角形

#1037 : 数字三角形时间限制:10000ms单点时限:1000ms内存限制:256MB问题描述小Hi和小Ho在经历了螃蟹先生的任务之后被奖励了一次出国旅游的机会,于是他们来到了大洋彼岸的美国。美国人民的生活非常有意思,经常会有形形色色、奇奇怪怪的活动举办,这不,小Hi和小Ho刚刚下飞机,就赶上了当地的迷宫节活动。迷宫节里展览出来的迷宫都特别

2016-05-10 23:06:33 296

原创 链表队列

链表队列:key_word:1.队列指针记录的是头指针与尾指针      2.队列内的元素指针记录的是下一元素的指针#include #include typedef struct node{ int a; struct node *next;}str;//zhizhen yuansustruct queue{ str *front; s

2016-05-10 22:32:14 258

原创 hihocoder #1038 : 01背包

#1038 : 01背包时间限制:20000ms单点时限:1000ms内存限制:256MB描述且说上一周的故事里,小Hi和小Ho费劲心思终于拿到了茫茫多的奖券!而现在,终于到了小Ho领取奖励的时刻了!小Ho现在手上有M张奖券,而奖品区有N件奖品,分别标号为1到N,其中第i件奖品需要need(i)张奖券进行兑换,同时也只能兑换一次,为了

2016-05-10 19:32:23 544

原创 [kuangbin带你飞]专题十二 基础DP1 B - Ignatius and the Princess IV

Ignatius and the Princess IVTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32767 K (Java/Others)Total Submission(s): 25818    Accepted Submission(s): 10905Problem Descriptio

2016-05-10 18:14:46 263

原创 [kuangbin带你飞]专题十二 基础DP1 I - 最少拦截系统

最少拦截系统Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 32242    Accepted Submission(s): 12660Problem Description某国为了防御敌国的导弹袭击,发展出

2016-05-10 00:25:14 283

原创 [kuangbin带你飞]专题十二 基础DP1 G - 免费馅饼

技,巴卡斯(杭州),壹晨仟阳(杭州),英雄互娱(杭州) (包括2016级新生)除了校赛,还有什么途径可以申请加入ACM校队? 免费馅饼Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 38674    Ac

2016-05-09 22:04:56 306

原创 ML_Liner Regression[机器学习]

关键词:1.Hypothesis Functio : h(x)=a+bx [假设函数]2.Parameters:a,b[模型参数]3.Cost Function: J(a,b) = 1/2m∑1-m (h(x^i)-y^i)^2  [其中m为学习样本的数量,x^i中的 i 为对应样本的编号 ]4.Goal: minimize Cost Function J为了使

2016-05-09 21:42:59 296

原创 数据结构- 线段树

线段树:二叉搜索树,可以用于维护区间信息实现:动态线段树,没什么好说的,很水。只要维护节点的信息足够就可以了。静态线段树,更加没什么好说的。结构体数组即可。一般使用静态,因为静态比较快。

2016-05-08 01:05:14 378

原创 [kuangbin带你飞]专题四 最短路练习 -A - Til the Cows Come Home

Til the Cows Come HomeTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 41196 Accepted: 13984DescriptionBessie is out in the field and wants to get back t

2016-05-07 23:44:08 359

原创 [kuangbin带你飞]专题一 简单搜索 -G - Shuffle'm Up

Shuffle'm UpTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8706 Accepted: 4002DescriptionA common pastime for poker players at a poker table is to shuf

2016-05-07 13:20:37 547

原创 [kuangbin带你飞]专题一 简单搜索 - H - Pots

PotsDescriptionYou are given two pots, having the volume of A and B liters respectively. The following operations can be performed:FILL(i)        fill the pot i (1 ≤ i ≤ 2) from the tap;DR

2016-05-06 23:59:11 442

原创 [kuangbin带你飞]专题一 简单搜索 -I - Fire Game

Problem 2150 Fire GameAccept: 1352    Submit: 4789Time Limit: 1000 mSec    Memory Limit : 32768 KB Problem DescriptionFat brother and Maze are playing a kind of special (hentai) game o

2016-05-02 19:49:49 329

原创 [kuangbin带你飞]专题一 简单搜索-J - Fire!

分析:先确定火的扩散速度,当J走到该格,若时间小于扩散到该格的时间则无事,否则烧死#include #include #include #include using namespace std;typedef long long ll;typedef pair P;typedef struct { int a; int b; int wal;}dat;dat

2016-05-01 16:58:22 522

原创 [kuangbin带你飞]专题一 简单搜索-F - Prime Path

Prime PathTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 15921 Accepted: 8987DescriptionThe ministers of the cabinet were quite upset by the message fr

2016-05-01 12:02:22 609

原创 [kuangbin带你飞]专题一 简单搜索 D - Fliptile

FliptileTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 6627 Accepted: 2518DescriptionFarmer John knows that an intellectually satisfied cow is a happy

2016-04-28 12:44:08 675

原创 [kuangbin带你飞]专题一 简单搜索 N - Find a way

N - Find a wayTime Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 2612DescriptionPass a year learning in Hangzhou, yifenfei arriv

2016-04-16 12:27:42 371

原创 [kuangbin带你飞]专题一 简单搜索 E - Find The Multiple

E - Find The MultipleTime Limit:1000MS     Memory Limit:10000KB     64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 1426DescriptionGiven a positive integer n, w

2016-04-16 10:20:19 535

原创 [kuangbin带你飞]专题一 简单搜索 -C - Catch That Cow

Catch That CowTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 70104 Accepted: 22060DescriptionFarmer John has been informed of the location of a fugitiv

2016-04-12 22:38:15 569

原创 [kuangbin带你飞]专题一 简单搜索 -K - 迷宫问题

迷宫问题Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 13824 Accepted: 8256Description定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0,

2016-04-12 15:49:49 477

原创 [kuangbin带你飞]专题一 简单搜索 -A - 棋盘问题

棋盘问题Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 32434 Accepted: 16091Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求

2016-04-12 15:46:39 504

原创 [kuangbin带你飞]专题一 简单搜索 - B - Dungeon Master

B - Dungeon MasterTime Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 2251DescriptionYou are trapped in a 3D dungeon and need t

2016-04-11 19:17:18 444

原创 xuput_sta15

1189: 爱游戏的招财猫时间限制: 1 Sec  内存限制: 64 MB提交: 35  解决: 3[提交][状态][讨论版]题目描述招财猫正在玩一个游戏,他向他的所有联系人发一条短信“这里是来自xxx的问候。”,收到这条短信的人会将其原封不动地转发给自己通讯录里的所有人。如果招财猫最后也收到自己这条短信,那么招财猫会很开心现在给你N个人和他们各自的

2016-04-10 20:10:20 376

原创 辽宁省赛2010-time[水题]

1068: Time时间限制: 1 Sec  内存限制: 128 MB提交: 20  解决: 6[提交][状态][讨论版]题目描述Digital clock use 4 digits to express time, each digit is described by 3*3 characters (including”|”,”_”and” “).now

2016-04-10 16:23:12 452

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除