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