Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop
Title: poj2814 Download
 Description: Time Limit: 1000ms Memory limit: 65536kB subject described in 9 clock, arranged in a 3* 3 matrix. Now need to move with the least, will have nine clock pointer Slide 12 o' clock. Allowed a total of 9 different mobile. Like right in the table below, each move will be a number of pointer clock toggle 90 degrees clockwise. Effects of clock movement 1 ABDE 2 ABC 3 BCEF 4 ADG 5 BDEFH 6 CFI 7 DEGH 8 GHI 9 EFHI (Figure 2) input from the standard input device 9 reads an integer, said the starting position of the clock pointer. 1 = 12 points, 1 = 3 points, 2 = 6 points, 3 = 9 points. Output Output a shortest movement sequence, making nine clock pointers all point to 12 points. According to the size of mobile serial number, output
 Downloaders recently: [More information of uploader jingbling118]
 To Search: POJ 28 poj2814 5-101
File list (Check if you may need any files):
拨钟问题2814.cpp
    

CodeBus www.codebus.net