X[0:n-1]和Y[0:n-1]为2个数组,每个数组中含有n个已排好序的数。 试设计一个O(log n)时间的算法,找出X和Y的2n个数的中位数。
N-Queens+Problem 热门资料
汇集 N-Queens+Problem 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
歐基理德輾轉相除法(之二) m與n相差太大時,可用(m%n)來取代(m-n),這樣的處理效率較高。以下便以此方法求出最大公因數。
n = 0 XtSetArg[args[n], XmNlabelString, label] n++ button = XmCreatePushButton[toplevel, "pushbutton", args, n] XtManageChild[butt…
n algorithm for domain independent linear text segmentation This the Windows version of the C99 algorithm that was presented in my…
北大ACM网站 1039题 http://acm.pku.edu.cn/JudgeOnline/problem?id=1039
用指向指针的指针的方法对n个整数排序并输出。要求将排序单独写成一个函数,n和各整数在主函数中输入,最后在主函数中输出。
包插说明书,PCB,SCH图,及N多源代码例子,网上卖的很火的一款
this program solves the steady-state navier-stokes eqn in 2d for the flow in a driven cavity problem
this program solves the steady-state navier-stokes eqn in 2d for the flow in a driven cavity problem. the function solved for is t…
范德蒙行列式求解方法,VANDER(X[],W[],Q[],N),在子过程Vander中实现。
在理论模型的基础上探讨了电子势垒的形状以及势垒形状随外加电压的变化, 并进行定量计算, 得出隧穿电压随杂质掺杂浓度的变化规律。所得结论与硅、锗p-n 结实验数据相吻合, 证明了所建立的理论模型在定量 研究p-n 结的隧道击穿中的合理性与实用性。该理论模型对研究…