Skip to content

Instantly share code, notes, and snippets.

@jacbar
Created September 26, 2010 22:36
Show Gist options
  • Save jacbar/598377 to your computer and use it in GitHub Desktop.
Save jacbar/598377 to your computer and use it in GitHub Desktop.
import java.util.*;
public class dupa{
public static void main(String[] args){
Scanner input = new Scanner(System.in);
int n = input.nextInt();
String[] tab = new String[n];
for(int i=0;i<n;i++)
tab[i] = input.nextLine();
for(int i=0;i<n;i++)
System.out.println(tab[i]);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment