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

Envío 3722

Problema 0x60 - ¿Mayor, menor o igual?

  • Autor: jvelezpo
  • Fecha: 2021-04-12 17:03:24 UTC (Hace alrededor de 3 años)
Caso # Resultado Tiempo Memoria
#1
Correcto
0.103 s 13 KBi
#2
Correcto
0.087 s 23 KBi
#3
Correcto
0.035 s 7 KBi
#4
Correcto
0.056 s 7 KBi
#5
Correcto
0.036 s 7 KBi
#6
Correcto
0.045 s 16 KBi
#7
Correcto
0.036 s 7 KBi
#8
Correcto
0.057 s 7 KBi
#9
Correcto
0.057 s 7 KBi
#10
Correcto
0.104 s 31 KBi
Puntos totales: 100 / 100

Código

const readline = require('readline');
const rl = readline.createInterface({
  input: process.stdin,
  output: process.stdout
})

let lineNumber = 0;

rl.on("line", line => {
  ++lineNumber;
  if (lineNumber === 1) {
    const [a, b] = line.split(' ')
    if (Number(a) < Number(b)) {
      console.log('<');
    } else if (Number(a) > Number(b)) {
      console.log('>');
    } else {
      console.log('=');
    }
  }
})