Added 10 solutions
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user