![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
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 · 811 阅读 · 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 · 824 阅读 · 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 · 1393 阅读 · 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 · 1776 阅读 · 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 · 1329 阅读 · 0 评论