Added 17 solutions

This commit is contained in:
rshaghoulian
2017-02-21 00:05:09 -06:00
parent d6dcb21ea4
commit ff6167d56c
25 changed files with 676 additions and 69 deletions
@@ -5,14 +5,13 @@
import java.util.Scanner;
public class Solution {
public static void main(String[] args) {
/* Read input */
Scanner scan = new Scanner(System.in);
String s = scan.nextLine();
scan.close();
s = s.trim(); // needed to pass test cases
s = s.trim(); // so that .split() works properly
/* Check special cases */
if (s.length() == 0) {