会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Assassin_poi君
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
25
26
27
28
29
30
31
32
下一页
2017年8月29日
CodeForces 359A Table
摘要: Simon has a rectangular table consisting of n rows and m columns. Simon numbered the rows of the table from top to bottom starting fro...
阅读全文
posted @ 2017-08-29 21:05 Assassin_poi君
阅读(273)
评论(0)
推荐(0)
2017年8月28日
Find them, Catch them POJ - 1703(带权并查集)
摘要: The police office in Tadu City decides to say ends to the chaos, as launch actions to root upthe TWO gangs in the city, Gang Dragon an...
阅读全文
posted @ 2017-08-28 20:45 Assassin_poi君
阅读(144)
评论(0)
推荐(0)
2017年8月27日
剪花布条 HDU - 2087 (子串位置查找总结)
摘要: 今天做到了相关的题,感觉知识欠缺就想着写个总结加深一下记忆。首先是今天看到的题:一块花布条,里面有些图案,另有一块直接可用的小饰条,里面也有一些图案。对于给定的花布条和小饰条,计算一下能从花布条中尽可能剪出几块小饰条来呢? Input:输入中含有一些数据,分别是成对出...
阅读全文
posted @ 2017-08-27 21:03 Assassin_poi君
阅读(138)
评论(0)
推荐(0)
2017年8月24日
关于map的学习笔记
摘要: 前几天刚学会单行多个输入即 a,b = map(int,input().split())今天正好看到了关于map的讲解才知道这里的int其实是int()。int()是函数调用,int是函数。map是把读到的字符串全部用int()处理了一遍。同样类似的还有filte...
阅读全文
posted @ 2017-08-24 15:49 Assassin_poi君
阅读(232)
评论(0)
推荐(0)
纯C实现的一套low b 贪吃蛇(娱乐版)
摘要: 菜鸟瞎玩玩。:-D代码:#include #include #include #include /* run this program using the console pauser or add your own getch, system("pause") or...
阅读全文
posted @ 2017-08-24 09:49 Assassin_poi君
阅读(144)
评论(0)
推荐(0)
2017年8月22日
Python之如何实现一行输入多个值
摘要: python如何实现一行输入多个值呢?例如 读入两个数10 23到a b 中。很简单 a,b = input().split() 即可。 当然,a,b中保存的是字符串。如果要求a,b中保存的是整数的话可以这样写a,b = map(int,input().sp...
阅读全文
posted @ 2017-08-22 20:03 Assassin_poi君
阅读(2927)
评论(0)
推荐(0)
2017年8月17日
HDU2571:命运(DP)
摘要: 穿过幽谷意味着离大魔王lemon已经无限接近了!可谁能想到,yifenfei在斩杀了一些虾兵蟹将后,却再次面临命运大迷宫的考验,这是魔王lemon设下的又一个机关。要知道,不论何人,若在迷宫中被困1小时以上,则必死无疑!可怜的yifenfei为了去救MM,义无返顾地跳...
阅读全文
posted @ 2017-08-17 11:41 Assassin_poi君
阅读(131)
评论(0)
推荐(0)
2017年8月16日
hdu 2546 饭卡-动态规划(基础中的基础题)
摘要: 电子科大本部食堂的饭卡有一种很诡异的设计,即在购买之前判断余额。如果购买一个商品之前,卡上的剩余金额大于或等于5元,就一定可以购买成功(即使购买后卡上余额为负),否则无法购买(即使金额足够)。所以大家都希望尽量使卡上的余额最少。某天,食堂中有n种菜出售,每种菜可购买一...
阅读全文
posted @ 2017-08-16 06:41 Assassin_poi君
阅读(214)
评论(0)
推荐(0)
HDU 2602 Bone Collector(01背包裸题)
摘要: Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”.This man like to collect varies of bones , such a...
阅读全文
posted @ 2017-08-16 06:36 Assassin_poi君
阅读(120)
评论(0)
推荐(0)
HDU 2048 数塔 (DP)
摘要: 在讲述DP算法的时候,一个经典的例子就是数塔问题,它是这样描述的:有如下所示的数塔,要求从顶层走到底层,若每一步只能走到相邻的结点,则经过的结点的数字之和最大是多少? 已经告诉你了,这是个DP的题目,你能AC吗? Input:输入数据首先包括一个整数C,表示测试实例的...
阅读全文
posted @ 2017-08-16 06:12 Assassin_poi君
阅读(127)
评论(0)
推荐(0)
上一页
1
···
25
26
27
28
29
30
31
32
下一页
公告