我做hackerearth上题目记录,具体的题目描述是这样的: Given the size and the elements of array A, print all the elements in reverse order. Input: First line of input contains, N - size of the array. Following N lines, each contains one integer, i{th} element of the array…