1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
import java.util.*; import java.io.*; public class { public static void main(String[]args)throws IOException{ BufferedReader b = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(b.readLine()); long[] arr = new long[n]; String[] strs = b.readLine().trim().split(" "); for(int i= 0; i < n;i++){ arr[i] = Integer.parseInt(strs[i]); } b.close(); } }
|
近期评论