C#算法练习题
文章平均质量分 65
boyle0630
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
降序排列N个两位不重复的随机整数
using System;using System.Collections.Generic;using System.Text;namespace ConsoleApplication2{ class Program { static void Main(string[] args) { Random rd = new Random原创 2008-02-27 13:34:00 · 863 阅读 · 0 评论 -
判断素数,各位之和为偶数
using System;using System.Collections.Generic;using System.Text;namespace ConsoleApplication2{ class Program { static void Main(string[] args) { for (long i = 2; i原创 2008-02-27 15:12:00 · 898 阅读 · 0 评论 -
c#输出螺旋矩阵的一种拙解
using System;using System.Collections.Generic;using System.Text;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { int n=0 ; //矩原创 2008-02-26 17:23:00 · 1458 阅读 · 0 评论 -
从数列中抽取与某一数值(num)最接近的若干个数(n)
using System;using System.Collections.Generic;using System.Text;namespace ConsoleApplication2{ class Program { static void Main(string[] args) { int[] arraya = new int原创 2008-02-29 09:04:00 · 1907 阅读 · 0 评论 -
从一不含0的高精度正整数中去掉N个数字后按原左右次序组成一最小的数
using System;using System.Collections.Generic;using System.Text;namespace ConsoleApplication2{ class Program { static void Main(string[] args) { long num=0;//一高精度数值原创 2008-02-29 15:11:00 · 1388 阅读 · 0 评论
分享