went 当前离线
少校
function fn($num){ if($num -eq 1){ Write-Host '递归出口' return 1 } Write-Host "${num}压栈" $sum = fn -num ($num-1) Write-Host "${num}出栈" return $num + $sum } fn(100)复制代码
评分人数
TOP