#include<iostream> using namespace std; int f(int n) { if(n==1) return 1; return (f(n-1)+1); } int main() { int n=11; cout<<"排数:"<<f(n); return 0; }