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

Envío 2381

Problema 0x60 - ¿Mayor, menor o igual?

  • Autor: Camilo15
  • Fecha: 2020-12-15 05:22:08 UTC (Hace más de 3 años)
Caso # Resultado Tiempo Memoria
#1
Correcto
0.165 s 16 KBi
#2
Correcto
0.153 s 12 KBi
#3
Correcto
0.152 s 16 KBi
#4
Correcto
0.16 s 16 KBi
#5
Correcto
0.134 s 15 KBi
#6
Correcto
0.171 s 16 KBi
#7
Correcto
0.153 s 12 KBi
#8
Correcto
0.183 s 15 KBi
#9
Correcto
0.146 s 12 KBi
#10
Correcto
0.167 s 16 KBi
Puntos totales: 100 / 100

Código

import java.util.*;

/**
 * Write a description of class Main here.
 *
 * @author (your name)
 * @version (a version number or a date)
 */
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("=");  
        }

    }
}