
暴力
lyhvoyage
不抛弃,不放弃!
展开
-
UVA 146 - ID Codes 枚举排列
ID CodesIt is 2084 and the year of Big Brother has finally arrived, albeit a century late. In order to exercise greater control over its citizens and thereby to counter a chronic breakdown in law an原创 2013-07-16 17:55:39 · 2217 阅读 · 0 评论 -
ZOJ 3700 Ever Dream(模拟)
Ever DreamTime Limit: 2 Seconds Memory Limit: 65536 KB"Ever Dream" played by Nightwish is my favorite metal music. The lyric (see Sample Input) of this song is much more like a poem. E原创 2014-11-16 20:07:11 · 1747 阅读 · 0 评论 -
ZOJ 1633 Big String(模拟构造)
Big StringTime Limit: 2 Seconds Memory Limit: 65536 KBWe will construct an infinitely long string from two short strings: A = "^__^" (four characters), and B = "T.T" (three characters). R原创 2014-08-02 18:30:43 · 2316 阅读 · 0 评论 -
CodeForce 463C Gargari and Bishops(贪心+暴力)
Gargari and Bishopstime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputGargari is jealous that his friend Cais原创 2014-09-01 20:44:55 · 1719 阅读 · 0 评论 -
zoj 3818 Pretty Poem(暴力处理字符串)2014年牡丹江赛区网络赛
Pretty PoemTime Limit: 2 Seconds Memory Limit: 65536 KBPoetry 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:34:54 · 3100 阅读 · 0 评论 -
hdu 4932 Miaomiao's Geometry(暴力枚举)
Miaomiao's Geometry Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Problem Des原创 2014-08-11 09:15:54 · 1564 阅读 · 0 评论 -
hdu 4915 Parenthese sequence(模拟)2014多校训练第5场
Parenthese sequence Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Problem Descriptio原创 2014-08-06 11:05:16 · 1994 阅读 · 1 评论 -
NYOJ 643 发短信 暴力求解
发短信时间限制:1000 ms | 内存限制:65535 KB难度:3描述下图是手机常用的九键英文输入法界面,如果要输入字母'A',我们只需要按一次数字键2,按键顺序记为2;如果要输入字母'B'的话,我们需要连续按两次数字键2,按键顺序记为22;同理:字母'C’需要连续按3次数字键2,按键顺序记为222。通过这种方法,我们用手机10多个键就能输入26个英原创 2013-09-04 15:55:05 · 1460 阅读 · 0 评论 -
hdu 4648 Magic Pen
Magic Pen 6 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Problem Description原创 2013-08-06 18:01:26 · 1082 阅读 · 0 评论 -
UVA 10006 - Carmichael Numbers 数论(快速幂取模 + 筛法求素数)
Carmichael Numbers An important topic nowadays in computer science is cryptography. Some people even think that cryptography is the only important field in computer science, and that life原创 2013-08-03 15:13:42 · 2964 阅读 · 0 评论 -
UVA 216 - Getting in Line
216 - Getting in LineComputer networking requires that the computers in the network be linked.This problem considers a ``linear" network in which the computers are chained together so that eac原创 2013-07-17 09:38:15 · 1612 阅读 · 0 评论 -
UVA 11464 Even Parity(枚举递推)
11464 - Even ParityTime limit: 3.000 secondsWe have a grid of size N x N. Each cell of the grid initially contains a zero(0) or a one(1). The parity of a cell is the number of 1s surrounding原创 2014-10-04 11:13:08 · 1133 阅读 · 0 评论