Introduction - If you have any usage issues, please Google them yourself
Single linked list implementation situ reverse position, namely the use of the storage space of the original tables linear table (a1, a2, ..., an) inverse set (an, an-1, ..., a1). Input data: text file input.txt file sub 2 lines: Line 1 is the number of a single list of data elements n, n < 20. If n < 1 or n> 19 is considered to input data error. The second line is a single-chain n data elements, and each element is a decimal integer between-999 to 999, separated by a space between the elements. Output data: file output.txt file has only one line: Line 1 is set after the completion of the reverse single linked list of n decimal integer elements, separated by a space between each element. If the input data error, or an error during the operation, the problem has no solution, etc., then the first line of the output string " ERROR" .