原创 UVa 769 - Magic of David Copperfield 解題報告(思維)
Magic of David Copperfield The well-known magician David Copperfield loves to show the following trick: a square
原创 HDU 4920 Matrix multiplication 解題報告(暴力)
Matrix multiplication Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submi
原创 UVa 387 - A Puzzling Problem 解題報告(暴力)
A Puzzling Problem The goal of this problem is to write a program which will take from 1 to 5puzzle pieces such as
原创 UVa 434 - Matty's Blocks 解題報告(水題)
434 - Matty's Blocks Time limit: 3.000 seconds Matty's Blocks Little Matty liked playing with his blocks very m
原创 HDU 4911 Inversion 解題報告(逆序數)
Inversion Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 26
原创 HDU 5443 The Water Problem 解題報告(如題)
The Water Problem Time Limit: 1500/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submissio
原创 ZOJ 3823 Excavator Contest (2014 Mudanjiang Regional E) (構造)
Excavator Contest Time Limit: 2 Seconds Memory Limit: 65536 KB Special Judge Bluefly University is famous o
原创 hihoCoder 1236 Scores 解題報告(bitset + 分段暴力)
#1236 : Scores 時間限制:4000ms 單點時限:4000ms 內存限制:256MB 描述 Kyle is a student of Programming Monkey Elementary School.
原创 HDU 5445 Food Problem 解題報告(揹包)
HOT~ 杭電2015級新生如何加入ACM集訓隊? Food Problem Time Limit: 3000/2000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Ot
原创 SPOJ 1825 Free tour II 解題報告(樹分治)
1825. Free tour II Problem code: FTOUR2 After the success of 2nd anniversary (take a look at problem FTOUR for m
原创 CF 475D CGCDSSQ 解題報告(DP)
D. CGCDSSQ time limit per test 2 seconds memory limit per test 256 megabytes input standard input outpu
原创 HDU 5209 Relief grain 解題報告(樹鏈剖分 + 線段樹)
Relief grain Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 100000/100000 K (Java/Others) Total Submission(s
原创 HDU 3666 THE MATRIX PROBLEM 解題報告(差分約束)
THE MATRIX PROBLEM Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission
原创 POJ 1741 Tree 解題報告(樹分治)
Tree Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 10589 Accepted: 3257 Description Give a tree
原创 Vim環境配置 for ACM C++
最近剛學習Vim,簡單配置一下。 1. 代碼染色和自動換行 直接使用vim提供的標準配置文件即可。教程直接摘錄 vimtutor 第八講: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~