Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Error de compilación
Main.java:10: error: reached end of file while parsing } ^ 1 error |
||
#2 |
Error de compilación
Main.java:10: error: reached end of file while parsing } ^ 1 error |
||
#3 |
Error de compilación
Main.java:10: error: reached end of file while parsing } ^ 1 error |
||
#4 |
Error de compilación
Main.java:10: error: reached end of file while parsing } ^ 1 error |
||
#5 |
Error de compilación
Main.java:10: error: reached end of file while parsing } ^ 1 error |
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String[] linea = (scan.nextLine()).split(" "); int a = Integer.parseInt(linea[0]); int b = Integer.parseInt(linea[1]); System.out.print(a+b); }