Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (4)
Application of number system conversion stack
no vote
Through the application of stack, the conversion between any number system is realized. In the first line, enter two numbers, that is, the number system before conversion, the number system after conversion, and divide them with spaces. In the second line, enter the number to be converted, assuming that all values are & lt; = 10000
SunFlowers_chao
2018-04-23
0
1
Representation and operation of polynomial of one variable
no vote
Through the linear table to achieve the typical application of data structure -- polynomial addition, subtraction, multiplication and evaluation. Can achieve the following functions: 1, polynomial creation 2, polynomial addition 3, polynomial subtraction 4, polynomial multiplication 5, polynomial evaluation
SunFlowers_chao
2018-04-20
1
1
Six dimensional space
no vote
Six dimensional space theory is also called small world theory. The theory is popularly interpreted as: "there are no more than six people between you and any stranger in the world, that is to say, you can know any stranger through five people at most. "If you are given a social network graph, please calculate the percentage of each node that conforms to the" six dimensional space "theory in the total number of nodes.
SunFlowers_chao
2018-04-20
0
1
Data structure train departure
no vote
At every moment, the train can enter the exit from the entrance station or directly from the entrance, or enter the exit from the station. Now there are some cars waiting at the entrance, they have to come out of the exit in the above way, now you have to count all the possible outbound sequences. For example, when the entry is ABC, the possible outbound sequences are ABC, ACB, BAC, BCA, CBA [input] a string and the inbound sequence. [output] & nbsp; & nbsp; & nbsp; all possible outbound sequences are arranged from small to large in dictionary order. &Each line of sample input: & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; ABC
SunFlowers_chao
2018-04-20
0
1
No more~