█████████ ████ ███░░░░░███ ░░███ ███ ░░░ ██████ ███████ ██████ ██████ ░███ ███░░███ ███░░███ ███░░███ ███░░███ ░███ ░███ ░███░███ ░███ ░███████ ░███ ░███ ░░███ ███░███ ░███░███ ░███ ░███░░░ ░███ ░███ ░░█████████ ░░██████ ░░████████░░██████ ░░██████ ░░░░░░░░░ ░░░░░░ ░░░░░░░░ ░░░░░░ ░░░░░░

Envío 6055

Problema 0x78 - Suma de 2 números

  • Autor: Justin
  • Fecha: 2022-05-20 20:06:11 UTC (Hace casi 2 años)
Caso # Resultado Tiempo Memoria
#1
Incorrecto
0.105 s 17 KBi
#2
Incorrecto
0.077 s 16 KBi
#3
Incorrecto
0.103 s 18 KBi
#4
Incorrecto
0.077 s 16 KBi
#5
Incorrecto
0.097 s 16 KBi
Puntos totales: 0 / 100

Código

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);
  }
}