DFS
Rainbow_storm
aaaa
展开
-
CodeForces - 48D Permutations题解
A permutation is a sequence of integers from 1 to n of length n containing each number exactly once. For example, (1), (4, 3, 5, 1, 2), (3, 2, 1) are permutations, and (1, 1), (4, 3, 1), (2, 3, 4) are...原创 2018-05-13 20:56:02 · 493 阅读 · 0 评论 -
hdu 1520 Anniversary party(树形dp)
Anniversary party Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 18069 Accepted Submission(s): 6792 Problem Description ...原创 2018-09-23 19:46:16 · 147 阅读 · 0 评论