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

Envío 6384

Problema 0x60 - ¿Mayor, menor o igual?

  • Autor: Camilo15
  • Fecha: 2022-07-01 14:59:35 UTC (Hace casi 2 años)
Caso # Resultado Tiempo Memoria
#1
Correcto
0.079 s 16 KBi
#2
Correcto
0.085 s 16 KBi
#3
Correcto
0.104 s 16 KBi
#4
Correcto
0.095 s 16 KBi
#5
Correcto
0.106 s 13 KBi
#6
Correcto
0.1 s 16 KBi
#7
Correcto
0.094 s 16 KBi
#8
Correcto
0.083 s 16 KBi
#9
Correcto
0.077 s 16 KBi
#10
Correcto
0.093 s 16 KBi
Puntos totales: 100 / 100

Código

import java.util.*;
public class Main {

    public static void main(String[] args) throws java.lang.Exception {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        
        if(a>b){
            System.out.println(">");
        }
        else if(a<b){
            System.out.println("<");
        }
        else{
          System.out.println("=");  
        }

    }
}