Java, 5
Są bardzo długie ... więc sprawdziłem równość ciągów za pomocą skryptu Python i wygenerowałem ten sformatowany post, więc nie musiałbym ręcznie wstawiać tabulatorów w 400 liniach.
class Main {
public static void main(String[] args) {
System.out.println("hello world");
}}
}
1
Main.java:5: error: class, interface, or enum expected
}
^
1 error
exit status 1
2)
Main.java:1: error: class, interface, or enum expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:1: error: <identifier> expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:1: error: <identifier> expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
Main.java:5: error: class, interface, or enum expected
^
(use -source 1.4 or lower to use 'enum' as an identifier)
Main.java:1: error: = expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:3: error: illegal start of type
^
^
Main.java:3: error: ';' expected
^
^
Main.java:6: error: ';' expected
exit status 1
^
Main.java:6: error: <identifier> expected
exit status 1
^
Main.java:6: error: reached end of file while parsing
exit status 1
^
10 errors
exit status 1
3)
Main.java:1: error: class, interface, or enum expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:1: error: <identifier> expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:1: error: <identifier> expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
Main.java:1: error: class, interface, or enum expected
^
(use -source 1.4 or lower to use 'enum' as an identifier)
Main.java:1: error: = expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:2: error: <identifier> expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:2: error: ';' expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:2: error: illegal start of type
Main.java:5: error: class, interface, or enum expected
^
Main.java:2: error: = expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:2: error: <identifier> expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:2: error: <identifier> expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:2: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
Main.java:5: error: class, interface, or enum expected
^
(use -source 1.4 or lower to use 'enum' as an identifier)
Main.java:2: error: = expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:3: error: illegal start of type
^
^
Main.java:4: error: = expected
Main.java:1: error: <identifier> expected
^
Main.java:4: error: <identifier> expected
Main.java:1: error: <identifier> expected
^
Main.java:4: error: ';' expected
Main.java:1: error: <identifier> expected
^
Main.java:4: error: illegal start of type
Main.java:1: error: <identifier> expected
^
Main.java:4: error: = expected
Main.java:1: error: <identifier> expected
^
Main.java:5: error: '(' expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:5: error: <identifier> expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:5: error: ';' expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:5: error: illegal start of type
Main.java:5: error: class, interface, or enum expected
^
Main.java:5: error: = expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:5: error: <identifier> expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:5: error: <identifier> expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:5: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
Main.java:5: error: class, interface, or enum expected
^
(use -source 1.4 or lower to use 'enum' as an identifier)
Main.java:5: error: = expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:6: error: illegal start of type
^
^
Main.java:7: error: = expected
Main.java:1: error: <identifier> expected
^
Main.java:7: error: <identifier> expected
Main.java:1: error: <identifier> expected
^
Main.java:7: error: ';' expected
Main.java:1: error: <identifier> expected
^
Main.java:7: error: illegal start of type
Main.java:1: error: <identifier> expected
^
Main.java:7: error: = expected
Main.java:1: error: <identifier> expected
^
Main.java:8: error: '(' expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:8: error: <identifier> expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:8: error: ';' expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:8: error: illegal start of type
Main.java:5: error: class, interface, or enum expected
^
Main.java:8: error: = expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:8: error: <identifier> expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:8: error: <identifier> expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:8: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
Main.java:5: error: class, interface, or enum expected
^
(use -source 1.4 or lower to use 'enum' as an identifier)
Main.java:8: error: = expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:9: error: illegal start of type
^
^
Main.java:10: error: = expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: <identifier> expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: ';' expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: illegal start of type
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: = expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: = expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: illegal start of type
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: <identifier> expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: unclosed character literal
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: ';' expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: unclosed character literal
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: = expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: = expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: = expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: = expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:11: error: <identifier> expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:11: error: ';' expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:11: error: illegal start of type
Main.java:5: error: class, interface, or enum expected
^
Main.java:11: error: = expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:11: error: <identifier> expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:11: error: <identifier> expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:11: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
Main.java:5: error: class, interface, or enum expected
^
(use -source 1.4 or lower to use 'enum' as an identifier)
Main.java:11: error: = expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:12: error: illegal start of type
^
^
Main.java:12: error: <identifier> expected
^
^
Main.java:13: error: = expected
(use -source 1.4 or lower to use 'enum' as an identifier)
^
Main.java:13: error: ';' expected
(use -source 1.4 or lower to use 'enum' as an identifier)
^
Main.java:13: error: <identifier> expected
(use -source 1.4 or lower to use 'enum' as an identifier)
^
Main.java:13: error: = expected
(use -source 1.4 or lower to use 'enum' as an identifier)
^
Main.java:13: error: ';' expected
(use -source 1.4 or lower to use 'enum' as an identifier)
^
Main.java:13: error: = expected
(use -source 1.4 or lower to use 'enum' as an identifier)
^
Main.java:13: error: unclosed character literal
(use -source 1.4 or lower to use 'enum' as an identifier)
^
Main.java:13: error: unclosed character literal
(use -source 1.4 or lower to use 'enum' as an identifier)
^
Main.java:13: error: = expected
(use -source 1.4 or lower to use 'enum' as an identifier)
^
Main.java:14: error: <identifier> expected
Main.java:1: error: = expected
^
Main.java:14: error: ';' expected
Main.java:1: error: = expected
^
Main.java:14: error: illegal start of type
Main.java:1: error: = expected
^
Main.java:14: error: = expected
Main.java:1: error: = expected
^
Main.java:14: error: illegal start of type
Main.java:1: error: = expected
^
Main.java:15: error: = expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:15: error: illegal start of type
Main.java:5: error: class, interface, or enum expected
^
Main.java:15: error: = expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:15: error: illegal start of type
Main.java:5: error: class, interface, or enum expected
^
Main.java:15: error: <identifier> expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:15: error: = expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:15: error: ';' expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:15: error: <identifier> expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:15: error: <identifier> expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:15: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
Main.java:5: error: class, interface, or enum expected
^
(use -source 1.4 or lower to use 'enum' as an identifier)
Main.java:15: error: = expected
Main.java:5: error: class, interface, or enum expected
^
Main.java:16: error: illegal start of type
^
^
Main.java:17: error: = expected
Main.java:3: error: illegal start of type
^
Main.java:17: error: <identifier> expected
Main.java:3: error: illegal start of type
^
Main.java:17: error: ';' expected
Main.java:3: error: illegal start of type
^
Main.java:17: error: illegal start of type
Main.java:3: error: illegal start of type
^
Main.java:17: error: = expected
Main.java:3: error: illegal start of type
^
100 errors
exit status 1
4
Main.java:1: error: class, interface, or enum expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:1: error: <identifier> expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:1: error: <identifier> expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
Main.java:1: error: class, interface, or enum expected
^
(use -source 1.4 or lower to use 'enum' as an identifier)
Main.java:1: error: = expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:2: error: <identifier> expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:2: error: ';' expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:2: error: illegal start of type
Main.java:1: error: class, interface, or enum expected
^
Main.java:2: error: = expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:2: error: <identifier> expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:2: error: <identifier> expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:2: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
Main.java:1: error: class, interface, or enum expected
^
(use -source 1.4 or lower to use 'enum' as an identifier)
Main.java:2: error: = expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:3: error: illegal start of type
^
^
Main.java:4: error: = expected
Main.java:1: error: <identifier> expected
^
Main.java:4: error: <identifier> expected
Main.java:1: error: <identifier> expected
^
Main.java:4: error: ';' expected
Main.java:1: error: <identifier> expected
^
Main.java:4: error: illegal start of type
Main.java:1: error: <identifier> expected
^
Main.java:4: error: = expected
Main.java:1: error: <identifier> expected
^
Main.java:5: error: '(' expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:5: error: <identifier> expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:5: error: ';' expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:5: error: illegal start of type
Main.java:1: error: class, interface, or enum expected
^
Main.java:5: error: = expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:5: error: <identifier> expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:5: error: <identifier> expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:5: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
Main.java:1: error: class, interface, or enum expected
^
(use -source 1.4 or lower to use 'enum' as an identifier)
Main.java:5: error: = expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:6: error: illegal start of type
^
^
Main.java:7: error: = expected
Main.java:1: error: <identifier> expected
^
Main.java:7: error: <identifier> expected
Main.java:1: error: <identifier> expected
^
Main.java:7: error: ';' expected
Main.java:1: error: <identifier> expected
^
Main.java:7: error: illegal start of type
Main.java:1: error: <identifier> expected
^
Main.java:7: error: = expected
Main.java:1: error: <identifier> expected
^
Main.java:8: error: '(' expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:8: error: <identifier> expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:8: error: ';' expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:8: error: illegal start of type
Main.java:1: error: class, interface, or enum expected
^
Main.java:8: error: = expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:8: error: <identifier> expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:8: error: <identifier> expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:8: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
Main.java:1: error: class, interface, or enum expected
^
(use -source 1.4 or lower to use 'enum' as an identifier)
Main.java:8: error: = expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:9: error: illegal start of type
^
^
Main.java:10: error: = expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: <identifier> expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: ';' expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: illegal start of type
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: = expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: = expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: illegal start of type
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: <identifier> expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: unclosed character literal
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: ';' expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: unclosed character literal
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: = expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: = expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: = expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:10: error: = expected
Main.java:1: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
^
Main.java:11: error: <identifier> expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:11: error: ';' expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:11: error: illegal start of type
Main.java:1: error: class, interface, or enum expected
^
Main.java:11: error: = expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:11: error: <identifier> expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:11: error: <identifier> expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:11: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
Main.java:1: error: class, interface, or enum expected
^
(use -source 1.4 or lower to use 'enum' as an identifier)
Main.java:11: error: = expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:12: error: illegal start of type
^
^
Main.java:12: error: <identifier> expected
^
^
Main.java:13: error: = expected
(use -source 1.4 or lower to use 'enum' as an identifier)
^
Main.java:13: error: ';' expected
(use -source 1.4 or lower to use 'enum' as an identifier)
^
Main.java:13: error: <identifier> expected
(use -source 1.4 or lower to use 'enum' as an identifier)
^
Main.java:13: error: = expected
(use -source 1.4 or lower to use 'enum' as an identifier)
^
Main.java:13: error: ';' expected
(use -source 1.4 or lower to use 'enum' as an identifier)
^
Main.java:13: error: = expected
(use -source 1.4 or lower to use 'enum' as an identifier)
^
Main.java:13: error: unclosed character literal
(use -source 1.4 or lower to use 'enum' as an identifier)
^
Main.java:13: error: unclosed character literal
(use -source 1.4 or lower to use 'enum' as an identifier)
^
Main.java:13: error: = expected
(use -source 1.4 or lower to use 'enum' as an identifier)
^
Main.java:14: error: <identifier> expected
Main.java:1: error: = expected
^
Main.java:14: error: ';' expected
Main.java:1: error: = expected
^
Main.java:14: error: illegal start of type
Main.java:1: error: = expected
^
Main.java:14: error: = expected
Main.java:1: error: = expected
^
Main.java:14: error: illegal start of type
Main.java:1: error: = expected
^
Main.java:15: error: = expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:15: error: illegal start of type
Main.java:1: error: class, interface, or enum expected
^
Main.java:15: error: = expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:15: error: illegal start of type
Main.java:1: error: class, interface, or enum expected
^
Main.java:15: error: <identifier> expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:15: error: = expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:15: error: ';' expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:15: error: <identifier> expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:15: error: <identifier> expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:15: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
Main.java:1: error: class, interface, or enum expected
^
(use -source 1.4 or lower to use 'enum' as an identifier)
Main.java:15: error: = expected
Main.java:1: error: class, interface, or enum expected
^
Main.java:16: error: illegal start of type
^
^
Main.java:17: error: = expected
Main.java:2: error: <identifier> expected
^
Main.java:17: error: <identifier> expected
Main.java:2: error: <identifier> expected
^
Main.java:17: error: ';' expected
Main.java:2: error: <identifier> expected
^
Main.java:17: error: illegal start of type
Main.java:2: error: <identifier> expected
^
Main.java:17: error: = expected
Main.java:2: error: <identifier> expected
^
100 errors
exit status 1
5 (Quine) - pominięty ze względu na długość postu.
Segmentation fault (core dumped)
.