Description: Half of the 13th century, the Mongol army expedition to kill all the way to Europe. Mongol horsemen to the flag in the march on the way, as a unit along a road successively entered. For guiding the team to back, turn right whenever encountered a road at the bifurcation on the roadside heap heap of stones as a signpost to heap a pile of stones, said straight heap piles of stones heap Sandui stone left turn. Trial C language to write a program, calculated by the number of junctions. Assuming the length of the section between each adjacent junctions basic equal direction westward (the beginning of the first intersection to judge, that is starting to which direction to go), output eswn four letters or a combination thereof to determine the final location From (ie intersection) relative to the orientation.
Input: only one line, respectively, with 1, 2 and 3 represents the intersection encountered stone pestle number, up to 20 junctions.
Output: only one line, the form number of the inte
To Search:
File list (Check if you may need any files):
a question about lukou.c