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

Envío 2824

Problema 0x78 - Suma de 2 números

  • Autor: pradomaricon
  • Fecha: 2021-02-07 00:55:14 UTC (Hace alrededor de 3 años)
Caso # Resultado Tiempo Memoria
#1
Correcto
0.171 s 16 KBi
#2
Correcto
0.188 s 16 KBi
#3
Correcto
0.167 s 12 KBi
#4
Correcto
0.165 s 15 KBi
#5
Correcto
0.168 s 12 KBi
Puntos totales: 100 / 100

Código

import java.util.Scanner;

public class Main {
public static Scanner leer = new Scanner(System.in);

    public static void main(String[] args) {

        //input dimensiones
        String[] dimensiones = leer.nextLine().trim().split(" ");
        int primero = Integer.parseInt(dimensiones[0]);
        int segundo = Integer.parseInt(dimensiones[1]);
        int toret= primero +segundo;


        System.out.println(toret);

    }
}