-
幻方
在娱乐数学幻方是安排不同的数字 (即每个数字使用一次),通常是整数,在正方形网格中,在那里在每一行和每一列中的数字和中向前和向后主对角线上的数字都加起来到相同的编号。幻方具有相同的行数以及它有根柱子,在常规的数学符号,"n"代表数量的行 (和列),它有。因此,魔术广场总是包含 n2 的数字,和它的大小 (行 [和列],它具有数目) 被形容为"的 n 阶"。[1] 包含从 1 到 n2 整数的魔术方块被称为正常的幻方。("魔方"一词有时也用于指各种类型的单词方块。)有可能构建任何大小除了 2 × 2 正常幻方 (也就是说,其中 n = 2),虽然幻方的解决方案其中 n = 1 是微不足道的因为它只是由单个单元格包含数字 1。小非平凡案例,如下所示,是一个 3 × 3 网格 (也就是说,三阶的魔术广场)。这是解决 nxn 幻方的项目
- 2023-03-28 06:25:04下载
- 积分:1
-
tacticians of the commonly used algorithms
运筹学中常用到的算法-tacticians of the commonly used algorithms
- 2022-08-06 05:43:23下载
- 积分:1
-
apriori挖掘算法
Apriori算法的Matlab实现 可以自动生成关联规则,计算支持度、置信度
- 2023-04-17 22:35:04下载
- 积分:1
-
说明:本程序用于矩形截面偏心受压构件对称配筋的设计和复核以及不对称配筋的复核。本程序有文件支持,但无需建立数据文件,请按屏幕提示输入数据,并注意单位。本程序可在...
说明:本程序用于矩形截面偏心受压构件对称配筋的设计和复核以及不对称配筋的复核。本程序有文件支持,但无需建立数据文件,请按屏幕提示输入数据,并注意单位。本程序可在此文件同目录上自动生成下列文件:设计数据文件“design.dat”,设计结果文件“design.out”;复核数据文件“verify.dat”,复核结果文件“verify.out”。-Note : This procedure for the eccentric rectangular reinforced symmetrical compression in the design and review and reinforcement of asymmetric review. This procedure document support, but without the establishment of data files, suggested by the data entry screen, and the attention of units. The procedures in this document may be the same directory automatically generate the following documents : design data files "design.dat", the outcome document design "design.out"; Review of data files "verify.dat" review of the outcome document "verify.out."
- 2022-06-11 16:41:16下载
- 积分:1
-
解决约瑟夫环问题
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace 实战_使用数组解决约瑟夫环问题
{
class Program
{
static void Main(string[] args)
{
int[] intPers = Jose(12, 3, 4);
Console.WriteLine
- 2023-06-26 06:40:03下载
- 积分:1
-
plural categories, a complex package of all Operational
复数类,封装了复数的所有运算-plural categories, a complex package of all Operational
- 2023-01-05 23:50:03下载
- 积分:1
-
贪恋算法求解01背包
改进的背包问题:给定一个超递增序列和一个背包的容量,然后在超递增序列中选(只能选一次)或不选每一个数值,使得选中的数值的和正好等于背包的容量。
代码思路:从最大的元素开始遍历超递增序列中的每个元素,若背包还有大于或等于当前元素值的空间,则放入,然后继续判断下一个元素;若背包剩余空间小于当前元素值,则判断下一个元素
- 2022-09-27 09:10:02下载
- 积分:1
-
This code is used to find shortest path by using dijkstra algorithm
This code is used to find shortest path by using dijkstra algorithm
- 2023-01-01 01:20:12下载
- 积分:1
-
freeman链码源码
在VC++下实现对图象进行CANNY边缘检测,并用形态学方法进行处理,然后对它进行链码编码,最后基于链码进行方向的检测!已通过调试,直接运行即可。
- 2022-04-25 14:29:09下载
- 积分:1
-
Fortran code to solve wave equation with multiple methods
Fortran code to solve wave equation with multiple methods
- 2023-03-05 16:45:03下载
- 积分:1