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

Envío 2713

Problema 0x60 - ¿Mayor, menor o igual?

  • Autor: sancanella
  • Fecha: 2021-02-02 20:38:30 UTC (Hace alrededor de 3 años)
Caso # Resultado Tiempo Memoria
#1
Correcto
0.165 s 16 KBi
#2
Correcto
0.174 s 12 KBi
#3
Correcto
0.177 s 12 KBi
#4
Correcto
0.168 s 16 KBi
#5
Correcto
0.175 s 12 KBi
#6
Correcto
0.166 s 16 KBi
#7
Correcto
0.183 s 12 KBi
#8
Correcto
0.159 s 16 KBi
#9
Correcto
0.162 s 16 KBi
#10
Correcto
0.16 s 16 KBi
Puntos totales: 100 / 100

Código

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner teclado = new Scanner(System.in);
        String[] entradas = teclado.nextLine().split(" ");
        int a = Integer.parseInt(entradas[0]);
        int b = Integer.parseInt(entradas[1]);
        System.out.println(a == b ?"=":(a < b? "<":">"));
    }
}