Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop Other
Title: xuanzhuan Download
 Description: [Problem Description] Enter a natural number N (2 ≤ N ≤ 9), required output following magic square, that side of N* N, elements ranging from 1 to N* N, 1 in Top left, clockwise turn was placed each element.   When N = 3:         123         894         765 [Input form] Read from the standard input one integer N. [Output] form The results output to file file.out. Output to meet the requirements of the square, each number representing five character width, aligned to the right, at the end of each line output a carriage return. [Sample input] 4 Sample output] [output file file.out says:                 1234           1213145           1116156           10987
 Downloaders recently: [More information of uploader 服部半藏]
 To Search:
File list (Check if you may need any files):
 

旋转
....\Debug
....\.....\vc60.idb
....\.....\vc60.pdb
....\.....\xuanzhuan.exe
....\.....\xuanzhuan.ilk
....\.....\xuanzhuan.obj
....\.....\xuanzhuan.pch
....\.....\xuanzhuan.pdb
....\.....\旋转.exe
....\.....\旋转.ilk
....\.....\旋转.pch
....\.....\旋转.pdb
....\file.out
....\magic.c
....\xuanzhuan.dsp
....\xuanzhuan.dsw
....\xuanzhuan.ncb
....\xuanzhuan.opt
....\xuanzhuan.plg
....\旋转.dsp
....\旋转.dsw
....\旋转.ncb
....\旋转.opt
....\旋转.plg
    

CodeBus www.codebus.net