Location:
Search - magic number
Search list
Description: 魔术数字程序--经典程序-magic number procedures -- procedures classic
Platform: |
Size: 8304 |
Author: 核心王 |
Hits:
Description: 该版软件有270个特效,界面精美,可以自行增加、编辑、预览与删除,集管理与收集于一身,是网页设计师们不可多得的特效软件,经不完全统计,该版软件特效总数是目前同类软件中最多的一款.一定升级到最新版[WinRAR3.5]才能正常解压,密码www.21codes.com-version of the software with 270 effects, interface, which can increase their own, edit, preview and delete, Set collection management convinced that the website designer who is a rare magic software, incomplete statistics, The software magic number of similar software is one of the largest. must upgrade to the latest version [WinRAR3.5 ] can be normal decompression, password www.21codes.com
Platform: |
Size: 1063331 |
Author: zhangtw |
Hits:
Description: 打印“魔方阵”。所谓“魔方阵”是指这样的方阵,它的每一行、每一列和对角线之和均相等。例如,三阶魔方阵为: 8 1 6 3 5 7 4 9 2 要求打印出由1到n*n的自然数构成的魔方阵。-Print "magic matrices." The so-called "magic matrix" refers to the matrix, which each line, each diagonal out and the sum of all the same. For example, third-order magic Lineup : 8 1 6 3 5 7 4 9 2 request from a print n * n to the natural form of the magic number of matrices.
Platform: |
Size: 831 |
Author: 唐宁 |
Hits:
Description: 魔术数字程序--经典程序-magic number procedures-- procedures classic
Platform: |
Size: 8192 |
Author: 核心王 |
Hits:
Description: 打印“魔方阵”。所谓“魔方阵”是指这样的方阵,它的每一行、每一列和对角线之和均相等。例如,三阶魔方阵为: 8 1 6 3 5 7 4 9 2 要求打印出由1到n*n的自然数构成的魔方阵。-Print "magic matrices." The so-called "magic matrix" refers to the matrix, which each line, each diagonal out and the sum of all the same. For example, third-order magic Lineup : 8 1 6 3 5 7 4 9 2 request from a print n* n to the natural form of the magic number of matrices.
Platform: |
Size: 1024 |
Author: 唐宁 |
Hits:
Description: 改进遗传算法-郭涛算法做最优化问题很管用,算法的基本思想是
先任意产生n个随机数,然后从n个数里随机选择m个数,再有这m个
数合成一个新数,将这个新数同n个数中间适应值函数值的最差的比较,
如果好的话就取代最差的那个,如果它比最好的还要好的话,则把最好的
也取代。如果比最差的坏,则重新合成一个新数。依次循环下去。
程序的奇妙之处是GA_crossover()函数,产生的新数确实比较好,看看
那位大侠能改进一下,产生比这跟好的数。-improved genetic algorithm- Guo Tao done optimization algorithm is very effective, and the algorithm is the first basic idea arbitrary n generated random number and then the number li n m randomly selected number, and this number m of a new synthesis of the new middle with n number fitness function of the worst by comparison, if a good case to replace the worst, um, if it even than the best, then ruled the best have replaced. If worse than the worst, a de novo synthesis of new. Followed by the cycle continues. The magic of procedures is GA_crossover () function, the new really good to see heroes who can be improved upon, it generated more than a few with a good.
Platform: |
Size: 2048 |
Author: 龚文引 |
Hits:
Description: 该版软件有270个特效,界面精美,可以自行增加、编辑、预览与删除,集管理与收集于一身,是网页设计师们不可多得的特效软件,经不完全统计,该版软件特效总数是目前同类软件中最多的一款.一定升级到最新版[WinRAR3.5]才能正常解压,密码www.21codes.com-version of the software with 270 effects, interface, which can increase their own, edit, preview and delete, Set collection management convinced that the website designer who is a rare magic software, incomplete statistics, The software magic number of similar software is one of the largest. must upgrade to the latest version [WinRAR3.5 ] can be normal decompression, password www.21codes.com
Platform: |
Size: 1062912 |
Author: zhangtw |
Hits:
Description: 知道什么是魔幻矩阵吗?它是这样的一个矩阵:首先它是一个奇数阶矩阵;其次无论它的每一行之和还是
//每一列之和还是左对角线之和还是右对角线之和都等于一个相同的数。神奇吧?那么这样的一个魔幻矩阵
//是怎么构成的呢?下面这个小程序就帮你解决这个问题。-Magic matrix know what it? It is such a matrix: First of all, it is an odd order matrix whether it was followed by the sum of each row or// for each column and the diagonal or the left or the right of and on the diagonal and are equal to the same number of . Magic, right? Well, such a magic matrix// is how it posed? The following small program to help you solve this problem.
Platform: |
Size: 1024 |
Author: 宇亮 |
Hits:
Description: 1) Write a function reverse(A) which takes a matrix A of arbitrary dimensions as input and returns a matrix B consisting of the columns of A in reverse order. Thus for example, if
A = 1 2 3 then B = 3 2 1
4 5 6 6 5 4
7 8 9 9 8 7
Write a main program to call reverse(A) for the matrix A = magic(5). Print to the screen both A and reverse(A).
2) Write a program which accepts an input k from the keyboard, and which prints out the smallest fibonacci number that is at least as large as k. The program should also print out its position in the fibonacci sequence. Here is a sample of input and output:
Enter k>0: 100
144 is the smallest fibonacci number greater than or equal to 100.
It is the 12th fibonacci number.
Platform: |
Size: 1024 |
Author: wangshujuan |
Hits:
Description: 操作系统分析JCINX的内存管理单元V-#ifndef __DEF_VMM_H__
#define __DEF_VMM_H__
//! Magic number to identify a memory block for kernel space.
#define MCB_MAGIC *((unsigned long*)"$MCB")
//! Magic number to identify a memory block for user mode space.
#define UMB_MAGIC *((unsigned long*)"$UMB")
//! Free memory block.
#define MB_FREE 0
//! Allocated memory block.
#define MB_BUSY 1
//! A memory control block structure.
typedef struct MemroyCtrlBock {
unsigned long ulMagic
unsigned long ulFlags
unsigned long ulSize
unsigned long ulOwnerPtr
} ts_MCB
Platform: |
Size: 44032 |
Author: 洪文亮 |
Hits:
Description: Magic number.. This programme can guess your decided number, by VB simple programme.
Platform: |
Size: 4096 |
Author: JeTRisha |
Hits:
Description: File tests each argument in an attempt to classify it. There are three
sets of tests, performed in this order: filesystem tests, magic number
tests, and language tests. The first test that succeeds causes the
file type to be printed.
-File tests each argument in an attempt to classify it. There are three
sets of tests, performed in this order: filesystem tests, magic number
tests, and language tests. The first test that succeeds causes the
file type to be printed.
Platform: |
Size: 20480 |
Author: vijay |
Hits:
Description: 这是一个四阶幻方生成器,程序来自动生成多个幻方,幻方是一种神奇的东西-This is a fourth-order magic square generator, procedures to automatically generate a number of magic square, magic square is a wonderful thing
Platform: |
Size: 12288 |
Author: 晓宇 |
Hits:
Description: The program can manage at the same time manually entered trades at any time (they have a magic number of 0)
Platform: |
Size: 10240 |
Author: long |
Hits:
Description: Ethernet compliant CRC32 alogrithm of calculation and magic number checking
Platform: |
Size: 1024 |
Author: kkris |
Hits:
Description: This Magic Square program..
This magic square fill the board with out the same number in that board but, have same SUM-This is Magic Square program..
This magic square fill the board with out the same number in that board but, have same SUM
Platform: |
Size: 1024 |
Author: BlackZhi |
Hits:
Description: 一个魔术猜数游戏 资源类别:
VB源码¦游戏 -A magic number guessing game resource category: VB source ¦ Games
Platform: |
Size: 9216 |
Author: nyusky |
Hits:
Description: magic.c - PPP Magic Number routines for Linux Device.
Platform: |
Size: 2048 |
Author: youkenbin |
Hits:
Description: 如果一个数(可能包含前导0)乘以2,如142857*2=285714,
依然由原来的数字组成的话,这样的数(142857)就叫Magic Number
输入:
多组测试数据,每组一行,每行是一个不大于1e10000整数(可能有前导0),
遇到EOF标志结束程序
输出:
判断这个数是不是Magic Number,是的话输出“Magic Number”
否则输出“Not Magic Number”
-Magic Number
Platform: |
Size: 1024 |
Author: 利益 |
Hits:
Description: magic number with the wrong endianess.
Platform: |
Size: 1024 |
Author: jengwmxs |
Hits: