搜索资源列表
天文数的阶乘
- 我编写了一个“天文数字计算”程序突破了这一限制,可以把数字的长度扩充到无穷多位。除了能做加、减、乘、除、求模等基本运算外还可以做阶乘、乘方、开平方等运算。 例如:10000! = ?、(2002^2000)%9999 = 9394、2002的平方根的小数点后第10000位是4。 下面这个程序只是我用编写的“天文数字计算”里的一个计算。 因为在程序代码中使用了中文,所以这个程序如果不在中文DOS下运行,可能会出现乱码,但不影响程序的计算结果。 注:因为D
2
- 扩展欧几里德算法不但能计算(a,b)的最大公约数,而且能计算a模b及b模a的乘法逆元。平方和乘算法的复杂度:执行次数至少要k次模乘,最多需要2k次模乘。-Extended Euclidean algorithm for computing not only (a, b) the common denominator, and to calculate a modulus b and b modulus a multiplicative inverse of. Square and by the
MyPhotos
- 一个简单的电子相册小程序,使用C#编码,可以浏览多张相片,是演示Winform编程的小例子,但功能还很不完善,欢迎初学者研模并改进。-A simple electronic album applet, using C# coding can view multiple photos, demo Winform programming small example, but the function is far from perfect, to welcome beginners research
ModeDialog
- 一个ModeDialog,模态对话框C#源码,点击窗口里的按钮即可测试,类似窗口比较多,希望这些简单但实用的例子能为C#初学者提供参考和帮助-A ModeDialog, C# source code modal dialog, click on the button to test window, similar to the window more, I hope these simple but practical examples for C# to provide information
