Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Incorrecto
|
0.076 s | 16 KBi |
#2 |
Incorrecto
|
0.101 s | 16 KBi |
#3 |
Incorrecto
|
0.081 s | 16 KBi |
#4 |
Incorrecto
|
0.079 s | 16 KBi |
#5 |
Incorrecto
|
0.103 s | 16 KBi |
import java.util.Scanner; public class Main { public static void main(String args[]){ int a, b; Scanner ent = new Scanner(System.in); System.out.print("Ingresa el primer valor: "); a = ent.nextInt(); System.out.print("Ingresa el segundo valor: "); b = ent.nextInt(); System.out.print(a + b); } }