码迷,mamicode.com
首页 >  
搜索关键字:pretty    ( 1544个结果
zoj 3818 Pretty Poem(模拟)
# include # include # include # define MAX 55 using namespace std; int L; char a[MAX]; int vis[MAX]; int judge1()//ababa { int i,j; int xx,yy,zz; char x[MAX],y[MAX],z[MAX]; for(i=2...
分类:其他好文   时间:2014-09-09 13:05:58    阅读次数:197
[ACM] zoj 3818 Pretty Poem (2014 ACMICPC Regional 牡丹江站网络赛 J题)
Pretty Poem Time Limit: 2 Seconds      Memory Limit: 65536 KB Poetry is a form of literature that uses aesthetic and rhythmic qualities of language. There are many famous poets in the contempo...
分类:其他好文   时间:2014-09-09 12:48:38    阅读次数:254
zoj 3818 Pretty Poem (模拟)
ZOJ Problem Set - 3818 Pretty Poem Time Limit: 2 Seconds      Memory Limit: 65536 KB Poetry is a form of literature that uses aesthetic and rhythmic qualities of language. There are many f...
分类:其他好文   时间:2014-09-08 10:54:26    阅读次数:272
zoj 3818 Pretty Poem(暴力处理字符串)2014年牡丹江赛区网络赛
Pretty Poem Time Limit: 2 Seconds      Memory Limit: 65536 KB Poetry is a form of literature that uses aesthetic and rhythmic qualities of language. There are many famous poets in the contempora...
分类:其他好文   时间:2014-09-08 10:52:56    阅读次数:334
ZOJ3818-Pretty Poem(暴力枚举)
题目链接...
分类:其他好文   时间:2014-09-07 22:33:25    阅读次数:269
ZOJ 3818 Pretty Poem 模拟题
题目链接:点击打开链接 #include #include #include #include using namespace std; const int N = 55; char a[N], b[N]; int main() { int T; scanf("%d", &T); while(T-- > 0) { scanf("%s", a); int Len = ...
分类:其他好文   时间:2014-09-07 19:52:45    阅读次数:186
【瞎搞】ZOJ 3818 Pretty Poem 牡丹江网络赛J题
第一种情况:ABABA。 先判断开头的A与结尾的A,得到A的长度,接着判断ABAB 中的AB与AB是否相同(ABAB的长度一定为偶数) 已经知道了A长度,AB的长度 接着判断下A 与B是否相同 第二种情况:ABABCAB-可先讲AB看成整体即DDCD 若存在一个D满足条件 可得到C的长度和位置再判断A-B是否相同A-C是否相同 B-C是否相同(暴力取A的长度咯) #include #i...
分类:其他好文   时间:2014-09-07 19:51:44    阅读次数:258
第一次网络赛之许杰浩题解
Pretty PoemTime Limit:2 Seconds Memory Limit:65536 KBPoetry is a form of literature that uses aesthetic and rhythmic qualities of language. There are ...
分类:其他好文   时间:2014-09-07 17:16:55    阅读次数:314
Pretty Poem
Poetry is a form of literature that uses aesthetic and rhythmic qualities of language. There are many famous poets in the contemporary era. It is said...
分类:其他好文   时间:2014-09-07 17:16:45    阅读次数:266
github恢复
一、查看修改日志信息1)git log:显示最近到最远的提交日志 添加参数--pretty=oneline:查看简单的日志信息。二、进行恢复到先前版本1)在Git中,HEAD表示当前版本,上一个版本就是HEAD^,上上一个版本就是HEAD^^ 网上100个版本就是HEAD~100.2)将当...
分类:其他好文   时间:2014-09-05 23:33:32    阅读次数:310
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!