编写具有如下原型的函数:int f(unsigned long x,int n,int& Lxn);