Added 10 solutions

This commit is contained in:
Rodney Shaghoulian
2017-09-11 09:32:17 -07:00
parent 1b2f98dd95
commit ba2c70755b
81 changed files with 517 additions and 74 deletions
@@ -10,7 +10,8 @@ import java.util.regex.PatternSyntaxException;
public class Solution {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int testCases = Integer.parseInt(scan.nextLine());
int testCases = scan.nextInt();
scan.nextLine(); // gets rid of the pesky newline.
while (testCases-- > 0) {
String pattern = scan.nextLine();
try {