码迷,mamicode.com
首页 >  
搜索关键字:csu 1553 good subseq    ( 2571个结果
HDU 4450 Draw Something
Problem DescriptionWangpeng is good at drawing. Now he wants to say numbers like “521” to his girlfriend through the game draw something.Wangpeng can’...
分类:其他好文   时间:2014-07-19 18:24:12    阅读次数:205
CSU-ACM2014暑假集训基础组训练赛(1) 解题报告
?Problem A HDU 4450 水题,签到题水题。。没啥好说的。给大家签到用的。 1 #include 2 int main(){ 3 int n,a,ans; 4 while(scanf("%d",&n),n){ 5 ans = 0; 6 ...
分类:其他好文   时间:2014-07-19 13:33:32    阅读次数:300
Python basics
The tutorial is from Dan Klein and Pieter AbbeelA good tutorial: https://docs.python.org/2/tutorial/ Table of ContentsInvoking the Interpreter Operato...
分类:编程语言   时间:2014-07-19 00:17:17    阅读次数:372
NTFS权限设置
1. OverviewSome time ago, I was automating a few tasks with PowerShell and needed to set NTFS permissions on a folder. I was tempted to use the good o...
分类:其他好文   时间:2014-07-18 19:31:42    阅读次数:359
Good practice release jar to Nexus
Stepsuppose you need to develop a feature,when you finish the feature ,you need to release the jar to Nexus,and other projects will depend on your jar...
分类:其他好文   时间:2014-07-18 19:00:08    阅读次数:262
1602实现移屏功能
这个题目主要是设置显示开/光及光标设置 这个地方与上一个题目没有多大的区别。 #include #define uchar unsigned char #define uint unsigned int uchar code table[]="GOOD GOOD STUDY!"; uchar code table1[]="DAY DAY UP ^_^!"; sbit lcden=P3...
分类:其他好文   时间:2014-07-18 18:11:09    阅读次数:245
csu 2014 summer trainning day 1 哈希
POJ 1200题意:给定串s,串中不同字符数nc,所求子串长度n,求长度为n的不同的子串的个数分析:处理长度很短的字符串哈希,数据保证可以无冲突存储下来,利用hash思想快速查询以前便利的结果,关键在于优化搜索。code: 1 #include 2 #include 3 #include 4...
分类:其他好文   时间:2014-07-18 14:19:38    阅读次数:361
地道情景表达一
1.hi/hello!/ Hullo!/How Do you do?(你好)2.(Good)morning/afternoon/evening!(早/下午/晚上(好))3.how are you?/how are you going?/how are you all keeping?(你好吗/最近过...
分类:其他好文   时间:2014-07-18 11:36:34    阅读次数:205
CSU - 1022 菜鸟和大牛
DP简单题,以前用for循环写过,这次用状态递归写。感觉确实思路比以往清晰许多。 1 #include 2 #include 3 const int maxm=500+5,maxn=1000+5; 4 int d[maxm][maxn],a[maxm][maxn],n; 5 int trimax(i...
分类:其他好文   时间:2014-07-18 09:32:42    阅读次数:155
CSU - 1224 ACM小组的古怪象棋
/*BFS,注意马脚!马脚WA了一次,后来WA了N次,最后发现输入时候将军和马的位置搞反,更改后AC*/1 #include 2 #include 3 #include 5 using namespace std; 6 const int maxn=10000,maxm=25; 7 int vis....
分类:其他好文   时间:2014-07-18 09:29:15    阅读次数:302
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!