- Category:
- CSharp
- Tags:
-
[WORD]
- File Size:
- 184kb
- Update:
- 2012-11-26
- Downloads:
- 0 Times
- Uploaded by:
- 673620470
Description: [Problem Description] Joseph, a description of the problem is: numbered 1,2, ..., n, n individuals sitting clockwise circle, each holding a password (positive integer). An optional start a positive integer as the upper limit of m, from the first person to embark on the clockwise direction starting from a reported sequence number, to report the number of m stop reported. Those who reported m out of the column, his password as the new m value, from his home in a clockwise direction on the next person started to re-reported from a few, and so on, until all of the column until all the up. Try a program designed to find out the column order. [Basic requirements] the use of a one-way circular linked list storage structure simulation of this process, in accordance with the order of columns printed out each number.
To Search:
File list (Check if you may need any files):
2.doc