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