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

Envío 2474

Problema 0x60 - ¿Mayor, menor o igual?

  • Autor: 7yrionLannister
  • Fecha: 2020-12-21 17:55:00 UTC (Hace más de 3 años)
Caso # Resultado Tiempo Memoria
#1
Correcto
0.177 s 16 KBi
#2
Correcto
0.163 s 16 KBi
#3
Correcto
0.181 s 16 KBi
#4
Correcto
0.191 s 16 KBi
#5
Correcto
0.152 s 12 KBi
#6
Correcto
0.173 s 15 KBi
#7
Correcto
0.181 s 16 KBi
#8
Correcto
0.164 s 12 KBi
#9
Correcto
0.168 s 16 KBi
#10
Correcto
0.171 s 30 KBi
Puntos totales: 100 / 100

Código

import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner s = new Scanner(System.in);
int a = s.nextInt();
int b = s.nextInt();
if(a == b) {
System.out.println("=");
} else if(a < b) {
System.out.println("<");
} else {
System.out.println(">");
}
}
}