1. 利用Shell脚本实现#!/bin/bashPORT0while [ true ];doread -p "please enter the port that you want to minitor:" portif [ $port -gt 65536 ] || [ $port -lt 1 ];thenecho "the port you enter is not correctly"elsePORT$portbreakfidonewhile [ t…
(POJ)[Stirling數, 排列組合, 數形結合] Description The Stirling number of the second kind S(n, m) stands for the number of ways to partition a set of n things into m nonempty subsets. For example, there are seven ways to split a four-element set into two pa…