Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (2)
C++ arbitrary two-dimensional magic square
no vote
Application background In a square is composed of a plurality of rows of number, arbitrary graph a transverse, longitudinal and diagonal of a few numbers and are equal, with charts of this nature, called "magic square". In ancient China, known as the "riverside", "Luo Shu", also called "the aspect graph".
1617144504
2016-08-23
0
1
C++ implementation to generate a combination algor
no vote
Application background Basic concepts of combination   ;       set S = {1,2,...... N}, all elements of a set of collections (not to consider the order of the arrangement), known as the whole combination of S;   ;       set S = {1,2,...... N}, from which to select r elements to form a group (do not consider the order of the arrangement), known as the S of a r- combination.Generating portfolio includes: all combination and r- combination. All the combination of the algorithm, based on 2 of the dictionary order, Even algorithm, recursive algorithm; r- combination of the algorithm has a dictionary order generation algorithm.   ;       3 of all combinations   ;       4 of all combinations
1617144504
2016-08-23
0
1
No more~