DP

February 24, 2013 Dynamic Programming No comments

note: This article comes from the Internet. Please contact me via lethic@163.com if there is any infringement.
lethic@163.com.

Time Limit: 2000MS

Memory Limit: 65536K

Total Submissions: 12738

Accepted: 4645

Description

N*MN*MNM “H” “P”

Input

NM
NM(‘P”H’)N[……]

Read more

DP

February 24, 2013 Dynamic Programming No comments

F –
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u
SubmitStatus

Description
,xhd.200679,xhd273,10.n,xhd,n2000,,xhd2*k.,2*kn.xhd(,xhd,).xhd3,6,(6-3)^2 = 9.xhd2*k(),.

Input
,n,k(2

DP:The Triangle

February 24, 2013 Dynamic Programming No comments

The Triangle
Time Limit: 1000MS Memory Limit: 10000K
Total Submissions: 29626 Accepted: 17473

Description

7
3 8
8 1 0
2 7 4 4
4 5 2 6 5

(Figure 1)

Figure 1 shows a number triangle. Write a program that calculates the highest sum of numbers passed on a ro[……]

Read more

DPLCS

February 24, 2013 Dynamic Programming No comments

Common Subsequence
Time Limit: 1000MS Memory Limit: 10000K
Total Submissions: 29658 Accepted: 11496

Description
A subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = < x1, x2, ..., xm > another sequence Z = < z1, z2, ..., zk > is a subsequence of X if ther[……]

Read more

DP: Post Office

February 24, 2013 Dynamic Programming No comments

Post Office
Time Limit: 1000MS Memory Limit: 10000K
Total Submissions: 12560 Accepted: 6765

Description
There is a straight highway with villages alongside the highway. The highway is represented as an integer axis, and the position of each village is identified with a single integer c[……]

Read more

DPPalindrome

February 22, 2013 Dynamic Programming No comments

Palindrome
Time Limit: 3000MS Memory Limit: 65536K
Total Submissions: 42770 Accepted: 14582
Description
A palindrome is a symmetrical string, that is, a string read identically from left to right as well as from right to left. You are to write a program which, given a string, determines the[……]

Read more

DPDivide Chocolate

February 21, 2013 Dynamic Programming No comments

Divide Chocolate

Time Limit: 2000/1000 MS (Java/Others)

EE School Cocktail Party

December 18th, 2012, the the EE School International cocktail party was held in the multi-purpose hall of the Students Activity Center. International classmates, as well as some members of SEA of EE School, attended the event. Telecommunications Institute counselor Zhang Qi teacher was invited to at[……]

Read more

SEA Recruit Speech

Good evening ladies and gentlemen:
Welcome to our enrollment meeting today. Its very happy to see so many freshmen here! Maybe some of you are sophomore, but that is all right. I joined this association when I was a sophomore because, as you know the Scientific English Association has just been est[……]

Read more

SEA Debut

Beijing Jiaotong University Scientific English Association (SEA for short) was found on 10th, April in 2012. And I was appointed as the president of SEA.

SEA is made up with 5 departments: the Model APEC Department, the Magazine Department, the Speech and Debate Department, the English Corner Dep[……]

Read more

25

25

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

25×54

125

2

335

4

5

6

1

2

3

4

5

6

7

8

1

225

325

4X

53~5

6

725 a.5 b.

8:30~11:0015:0017:00

1/X

24tasktasktask[……]

Read more

Bonus

 

1

2

3

3

4

5

6

Computer System: A Programmer’s Perspective

Mean Genes ()

MFCC++

Applied .NET Framework Programming:

 

1

2

3

4

5

6

7

8

9

10

11Nudge

1 2

TopLanguage:

Ubuntu

February 20, 2013 Linux No comments

note: This article comes from the Internet. Please contact me via lethic@163.com if there is any infringement.
lethic@163.com.

Ubuntusudoroot

sudo chmod 600

ubuntu

February 20, 2013 Linux 2 comments

ubuntu12.04wubi

U

ubuntufreeBSD

wubi

 

1ibus

 

killall ibus-daemon     
ibus-daemon -d           ibus
ibus-daemon -r -d

 

2 Ubuntu 12.04 unity Unity Gnome

sudo apt-get install gnome-session-fallback
sudo apt-get install gnome-panel

&n[……]

Read more

30

February 20, 2013 Literature No comments

 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

30

20111214

1985308

Manacher

February 20, 2013 String No comments

Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u
SubmitStatusPracticeHDU 3068
Description
a,b,c…y,zS,S.
,aba, abba

Input
case,120,a,b,c…y,zS
case()
len

Output
x,case,case.

Sample Input
aaaa

abab

Sample Output
4
3

04a189d43250b667bd3c0d2213f93e0d[……]

Read more

Manacher

February 20, 2013 String No comments

note: This article comes from the Internet. Please contact me via lethic@163.com if there is any infringement.
lethic@163.com.

manacher,.
,.
manacher,manacher,,,O(n).
,+kmp,.
?

:
,s,rad[i]i,rad[i],:
s[i-rad[i],i-1]=s[i+1,i+rad[i]]
,rad,.
,.
rad[1..i-1],rad,,iradj.j,rad[i].k,1rad[……]

Read more

KMP:Marlon’s String

February 20, 2013 String No comments

Marlon’s StringTime Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu
SubmitStatus
Description
Long long ago, there was a coder named Marlon. One day he picked two string on the street.A problem suddenly crash his brain…
Let Si..j denote the i-th character to the j-th charact[……]

Read more

KMP:Oulipo

February 20, 2013 String No comments

OulipoTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u
SubmitStatusPractice_
Description
The French author Georges Perec (19361982) once wrote a book, La disparition, without the letter ‘e’. He was a member of the Oulipo group. A quote from the book:
Tout avait Pair nor[……]

Read more

KMP

February 20, 2013 String No comments

note: This article comes from the Internet. Please contact me via lethic@163.com if there is any infringement.
lethic@163.com.

MM

KMPKMPBAABA=”I’m matrix67″B=”matrix”BAMM
ABAnBmO (mn)mnA= “aaaaaaaaaaaaaaaaaaaaaaaaaab”B=”aaaaaaaab”O(n) m