package 練習; import java.util.Date; import java.util.Scanner; public class main{ public static void main(String[] args){ long exec_time=new Date().getTime(); Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int m=sc.nextInt(); int[] a=new int[m]; for(int i=0;i=1;j--){ now[j]=now[j-1]; } now[0]=tmp; } System.out.println(now[0]); System.err.println(new Date().getTime()-exec_time+"ms"); } }