linux下文件批量化改名时使用一些命令可以比较简单快捷 1. 文件名前补0
linux 下的rename命令可以使用正则表达式进行匹配。举例 for i in {1..100}; do touch ${i}.txt; done 在当前目录下生成文件 1.txt 2.txt 3.txt ... 10.txt 11.txt 100.txt 想要在前面…
kruscal(eloge): 题目来源:http://acm.hdu.edu.cn/showproblem.php?pid1102 Problem DescriptionThere are N villages, which are numbered from 1 to N, and you should build some roads such that every two villages can connect to each other. We say two v…