Description: Each region has a number (from 1 to N), if a regional army, these troops will form a legion. The command center will command as follows: U ab: b region transferred to a region of the Legion to form a new legion. For ease of administration, and each new army sequentially added to the back of a Legion. The data to ensure that a and b are not the same. I ax: the armed forces of a number of x transferred to a region. For ease of administration, each new army will be added to the front of a legion. D ax: the number of troops in a region to the tune of x go. If there is not executed. Q a: ask a specific military information (that is, the number of each army sequentially output the Legion)
To Search:
File list (Check if you may need any files):
Cpp1.cpp