文件名称:2
- 所属分类:
- 控制台(字符窗口)编程
- 资源属性:
- [Dephi] [Pascal] [源码]
- 上传时间:
- 2016-01-18
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 赵**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
在n*n的棋盘上(1<=n<=10)填入1、2、3、….、n*n,共有n*n个数,使得任意相邻数的和为素数。
输入:n
输出:若有多个解,则需输出第一行、第一列之和均为最小的排列方案;若无解,则输出‘no’。-On board n* n (1 <= n <= 10) filled with 1,2,3, ...., N* n, a total number of n* n, so that any adjacent, and the number of prime numbers.
Input: n
Output: If there are multiple solutions, we need to output the first row, first column of the permutation scheme and are minimal if no solution, then output no .
输入:n
输出:若有多个解,则需输出第一行、第一列之和均为最小的排列方案;若无解,则输出‘no’。-On board n* n (1 <= n <= 10) filled with 1,2,3, ...., N* n, a total number of n* n, so that any adjacent, and the number of prime numbers.
Input: n
Output: If there are multiple solutions, we need to output the first row, first column of the permutation scheme and are minimal if no solution, then output no .
(系统自动生成,下载前可以参看下载内容)
下载文件列表
2.pas