fork download
  1. 1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
  2.  
  3. 2: class\s+([^\s:]*):?(\s+(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*),?)*
  4.  
  5.  
  6. file:
  7. class Parent {};
  8. class Child: virtual public Parent {};
  9. class Child2: virtual public Parent {};
  10. class Child3: virtual public Child, virtual public Child2, virtual public Child4 {};
  11. class Child4: virtual public Child2 {};
  12. class Child5: virtual public Child {};
  13. class Child6: virtual public Parent, virtual public Child3 {};
  14. class Child7: virtual public Child3, virtual public Child {};
  15.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:1: error: class, interface, or enum expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
^
Main.java:1: error: class, interface, or enum expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
 ^
Main.java:1: error: illegal character: '\'
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
        ^
Main.java:1: error: <identifier> expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
          ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
           ^
Main.java:1: error: <identifier> expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
            ^
Main.java:1: error: ';' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
             ^
Main.java:1: error: illegal character: '\'
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
              ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                ^
Main.java:1: error: ';' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                 ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                  ^
Main.java:1: error: <identifier> expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                   ^
Main.java:1: error: ';' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                    ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                     ^
Main.java:1: error: illegal character: '\'
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                      ^
Main.java:1: error: ';' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                       ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                        ^
Main.java:1: error: <identifier> expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                         ^
Main.java:1: error: ';' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                          ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                           ^
Main.java:1: error: ';' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                   ^
Main.java:1: error: illegal character: '\'
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                     ^
Main.java:1: error: <identifier> expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                       ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                        ^
Main.java:1: error: <identifier> expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                         ^
Main.java:1: error: ';' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                          ^
Main.java:1: error: illegal character: '\'
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                 ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                   ^
Main.java:1: error: ';' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                    ^
Main.java:1: error: illegal character: '\'
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                            ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                              ^
Main.java:1: error: ';' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                               ^
Main.java:1: error: illegal character: '\'
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                         ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                           ^
Main.java:1: error: ';' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                            ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                             ^
Main.java:1: error: <identifier> expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                              ^
Main.java:1: error: ']' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                ^
Main.java:1: error: illegal character: '\'
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                 ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                   ^
Main.java:1: error: ';' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                    ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                     ^
Main.java:1: error: <identifier> expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                      ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                        ^
Main.java:1: error: ')' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                         ^
Main.java:1: error: illegal character: '\'
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                          ^
Main.java:1: error: <identifier> expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                            ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                             ^
Main.java:1: error: illegal character: '\'
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                              ^
Main.java:1: error: ';' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                               ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                ^
Main.java:1: error: <identifier> expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                 ^
Main.java:1: error: ';' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                  ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                   ^
Main.java:1: error: ';' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                           ^
Main.java:1: error: illegal character: '\'
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                             ^
Main.java:1: error: <identifier> expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                               ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                ^
Main.java:1: error: <identifier> expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                 ^
Main.java:1: error: ';' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                  ^
Main.java:1: error: illegal character: '\'
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                         ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                           ^
Main.java:1: error: ';' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                            ^
Main.java:1: error: illegal character: '\'
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                                    ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                                      ^
Main.java:1: error: ';' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                                       ^
Main.java:1: error: illegal character: '\'
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                                                 ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                                                   ^
Main.java:1: error: ';' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                                                    ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                                                     ^
Main.java:1: error: <identifier> expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                                                      ^
Main.java:1: error: ']' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                                                        ^
Main.java:1: error: illegal character: '\'
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                                                         ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                                                           ^
Main.java:1: error: ';' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                                                            ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                                                             ^
Main.java:1: error: <identifier> expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                                                              ^
Main.java:1: error: ';' expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                                                               ^
Main.java:1: error: illegal start of type
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                                                                ^
Main.java:1: error: <identifier> expected
1: class\s+([^\s:]*):?\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
                                                                                                                                                                 ^
Main.java:3: error: ';' expected
2: class\s+([^\s:]*):?(\s+(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*),?)*
 ^
Main.java:3: error: illegal character: '\'
2: class\s+([^\s:]*):?(\s+(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*),?)*
        ^
Main.java:3: error: <identifier> expected
2: class\s+([^\s:]*):?(\s+(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*),?)*
          ^
Main.java:3: error: illegal start of type
2: class\s+([^\s:]*):?(\s+(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*),?)*
           ^
Main.java:3: error: <identifier> expected
2: class\s+([^\s:]*):?(\s+(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*),?)*
            ^
Main.java:3: error: ';' expected
2: class\s+([^\s:]*):?(\s+(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*),?)*
             ^
Main.java:3: error: illegal character: '\'
2: class\s+([^\s:]*):?(\s+(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*),?)*
              ^
Main.java:3: error: illegal start of type
2: class\s+([^\s:]*):?(\s+(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*),?)*
                ^
Main.java:3: error: ';' expected
2: class\s+([^\s:]*):?(\s+(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*),?)*
                 ^
Main.java:3: error: illegal start of type
2: class\s+([^\s:]*):?(\s+(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*),?)*
                  ^
Main.java:3: error: <identifier> expected
2: class\s+([^\s:]*):?(\s+(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*),?)*
                   ^
Main.java:3: error: ';' expected
2: class\s+([^\s:]*):?(\s+(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*),?)*
                    ^
Main.java:3: error: illegal start of type
2: class\s+([^\s:]*):?(\s+(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*),?)*
                     ^
Main.java:3: error: <identifier> expected
2: class\s+([^\s:]*):?(\s+(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*),?)*
                      ^
Main.java:3: error: illegal character: '\'
2: class\s+([^\s:]*):?(\s+(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*),?)*
                       ^
Main.java:3: error: <identifier> expected
2: class\s+([^\s:]*):?(\s+(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*),?)*
                         ^
Main.java:3: error: illegal start of type
2: class\s+([^\s:]*):?(\s+(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*),?)*
                          ^
Main.java:3: error: <identifier> expected
2: class\s+([^\s:]*):?(\s+(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*),?)*
                           ^
Main.java:3: error: ';' expected
2: class\s+([^\s:]*):?(\s+(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*),?)*
                            ^
Main.java:3: error: <identifier> expected
2: class\s+([^\s:]*):?(\s+(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*),?)*
                                    ^
100 errors
stdout
Standard output is empty