Java 代码
import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner cin = new Scanner(System.in);
int[] n = new int[20];
for (int i = 0; i < 20; i ++)
n[i] = cin.nextInt();
for (int j = 19; j >= 0; j --)
System.out.println ("N["+ (19 - j) + "] = " + n[j] );
}
}