private static int solve(String s) {
        String[] a = s.split("\n");
        int count = 0;
        for (int i = 0; i < a.length; i++) {
            Set<String> set = new HashSet<>();
            String[] temp = a[i].split(" ");
            int cc = 0;
            for (int j = 0; j < temp.length; j++) {
                if (!set.add(temp[j]))
                    break;
                cc++;
            }
            if (cc == temp.length)
                count++;
        }
        return count;
    }
Why Did you create this class? what does it do?
src/adventofcode/Paraphrase_4.java