Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Correcto
|
0.158 s | 13 KBi |
#2 |
Correcto
|
0.169 s | 13 KBi |
#3 |
Correcto
|
0.154 s | 13 KBi |
#4 |
Correcto
|
0.158 s | 13 KBi |
#5 |
Correcto
|
0.149 s | 13 KBi |
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.println(a+b); } }