miércoles, 4 de marzo de 2015

solucion 10071 volviendo a la fisica de la escuela

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package UVA_Pendientes;

import java.util.Scanner;

/**
 *
 * @author DAM116
 */
public class UVA10071_VueltaFisicaEscuela {
    public static void main(String args[]) {
        Scanner entrada = new Scanner(System.in);
        while (entrada.hasNext()) {
            System.out.println(entrada.nextInt() * entrada.nextInt() * 2);
        }
    }
}

No hay comentarios:

Publicar un comentario