Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.*;
- public class Main {
- public static void main(String[] args) {
- Scanner scanner = new Scanner(System.in);
- // leer numero de casos
- int t = scanner.nextInt();
- scanner.nextLine();
- for (int i = 0; i < t; i++) {
- solve(scanner);
- }
- scanner.close();
- }
- private static void solve(Scanner scanner) {
- // aqui va tu codigo
- String leerLinea = scanner.nextLine();
- System.out.println(leerLinea);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement