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

Envío 2965

Problema 0x60 - ¿Mayor, menor o igual?

  • Autor: davidtoca
  • Fecha: 2021-02-12 23:27:48 UTC (Hace alrededor de 3 años)
Caso # Resultado Tiempo Memoria
#1
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:9: syntax error, unexpected end-of-input, expecting `end'
0.083 s 9 KBi
#2
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:9: syntax error, unexpected end-of-input, expecting `end'
0.086 s 9 KBi
#3
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:9: syntax error, unexpected end-of-input, expecting `end'
0.095 s 9 KBi
#4
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:9: syntax error, unexpected end-of-input, expecting `end'
0.092 s 9 KBi
#5
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:9: syntax error, unexpected end-of-input, expecting `end'
0.085 s 9 KBi
#6
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:9: syntax error, unexpected end-of-input, expecting `end'
0.08 s 9 KBi
#7
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:9: syntax error, unexpected end-of-input, expecting `end'
0.099 s 9 KBi
#8
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:9: syntax error, unexpected end-of-input, expecting `end'
0.096 s 9 KBi
#9
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:9: syntax error, unexpected end-of-input, expecting `end'
0.098 s 9 KBi
#10
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:9: syntax error, unexpected end-of-input, expecting `end'
0.102 s 9 KBi
Puntos totales: 0 / 100

Código

a, b = gets.split.map(&:to_i)

if(a == b) then
  puts "="
else if(a > b) then
  puts ">"
else 
  puts "<"
end