@@ -0,0 +1,1613 @@
+import java.io.*;%0Aimport java.lang.Exception;%0Aimport java.nio.charset.Charset;%0A%0A%0Apublic class Main %7B%0A    public static void main(String%5B%5D args) %7B%0A        int depth = 1;%0A        int summaryRasa = 0;%0A        int totalLines = 0;%0A%0A        Charset encoding = Charset.defaultCharset();%0A        for (String filename : args) %7B%0A            File file = new File(filename);%0A            int rasa = 0;%0A            int lines = 0;%0A            try %7B%0A                InputStream in = new FileInputStream(file);%0A                 Reader reader = new InputStreamReader(in, encoding);%0A                 // buffer for efficiency%0A                 Reader buffer = new BufferedReader(reader);%0A                int r;%0A                while ((r = reader.read()) != -1) %7B%0A                    char ch = (char) r;%0A                    switch (ch) %7B%0A                        case ';':%0A                            rasa += depth;%0A                            break;%0A                        case '%7B':%0A                            depth++;%0A                            break;%0A                        case '%7D':%0A                            depth--;%0A                            break;%0A                        case '%5Cn':%0A                            lines++;%0A                            break;%0A                    %7D%0A                %7D%0A            %7D%0A            catch (Exception ex) %7B%0A%0A            %7D%0A%0A%0A            System.out.print(filename + %22: lines %22 + lines + %22, RaSa %22 + rasa + %22%5Cn%22);%0A            summaryRasa += rasa;%0A            totalLines += lines;%0A        %7D%0A%0A        System.out.print(%22total: lines %22 + totalLines + %22, RaSa %22 + summaryRasa + %22%5Cn%22);%0A    %7D%0A%7D

Add java solution