Last active
February 7, 2017 06:36
-
-
Save Manabu-GT/cbe32314ae79d1cd13577c87d5e843e8 to your computer and use it in GitHub Desktop.
TODO: Hackerrank Input Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
import java.util.*; | |
import java.text.*; | |
import java.math.*; | |
import java.util.regex.*; | |
public class Solution { | |
public static void main(String[] args) { | |
/* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */ | |
Scanner scanner = new Scanner(System.in); | |
/* | |
int numWords = Integer.parseInt(scanner.nextLine()); | |
String[] words = new String[numWords]; | |
for (int i = 0; i < words.length; i++) { | |
words[i] = scanner.nextLine(); | |
} | |
*/ | |
scanner.close(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment