Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.io.BufferedReader;
- import java.io.IOException;
- import java.io.InputStreamReader;
- class type {
- public static void main(String args[]) throws NumberFormatException,
- IOException {
- BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
- int t = Integer.parseInt(in.readLine());
- while (t-- > 0) {
- String[] num = new String[51];
- num = in.readLine().split(" ");
- int n = Integer.parseInt(num[0]);
- int[] a = new int[n];
- for (int i = 0; i < n; i++) {
- a[i] = Integer.parseInt(num[i + 1]);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement