Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Error de compilación
Main.java:1: error: '{' expected public class suma.java ^ Main.java:6: error: <identifier> expected suma = a+b; ^ Main.java:8: error: <identifier> expected System.out.print(suma); ^ Main.java:8: error: <identifier> expected System.out.print(suma); ^ Main.java:11: error: class, interface, or enum expected } ^ 5 errors |
||
#2 |
Error de compilación
Main.java:1: error: '{' expected public class suma.java ^ Main.java:6: error: <identifier> expected suma = a+b; ^ Main.java:8: error: <identifier> expected System.out.print(suma); ^ Main.java:8: error: <identifier> expected System.out.print(suma); ^ Main.java:11: error: class, interface, or enum expected } ^ 5 errors |
||
#3 |
Error de compilación
Main.java:1: error: '{' expected public class suma.java ^ Main.java:6: error: <identifier> expected suma = a+b; ^ Main.java:8: error: <identifier> expected System.out.print(suma); ^ Main.java:8: error: <identifier> expected System.out.print(suma); ^ Main.java:11: error: class, interface, or enum expected } ^ 5 errors |
||
#4 |
Error de compilación
Main.java:1: error: '{' expected public class suma.java ^ Main.java:6: error: <identifier> expected suma = a+b; ^ Main.java:8: error: <identifier> expected System.out.print(suma); ^ Main.java:8: error: <identifier> expected System.out.print(suma); ^ Main.java:11: error: class, interface, or enum expected } ^ 5 errors |
||
#5 |
Error de compilación
Main.java:1: error: '{' expected public class suma.java ^ Main.java:6: error: <identifier> expected suma = a+b; ^ Main.java:8: error: <identifier> expected System.out.print(suma); ^ Main.java:8: error: <identifier> expected System.out.print(suma); ^ Main.java:11: error: class, interface, or enum expected } ^ 5 errors |
public class suma.java main.java { int a=3,b=5; suma = a+b; System.out.print(suma); } }