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

Envío 5176

Problema 0x1c - Decir si un nodo es ancestro de otro en un árbol

  • Autor: Mejibyte
  • Fecha: 2021-10-23 01:45:57 UTC (Hace más de 2 años)
Caso # Resultado Tiempo Memoria
#1
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:1: can't find string "EOF" anywhere before EOF
script.rb:1: syntax error, unexpected end-of-input, expecting ')'
0.084 s 8 KBi
#2
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:1: can't find string "EOF" anywhere before EOF
script.rb:1: syntax error, unexpected end-of-input, expecting ')'
0.103 s 8 KBi
#3
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:1: can't find string "EOF" anywhere before EOF
script.rb:1: syntax error, unexpected end-of-input, expecting ')'
0.085 s 8 KBi
#4
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:1: can't find string "EOF" anywhere before EOF
script.rb:1: syntax error, unexpected end-of-input, expecting ')'
0.089 s 8 KBi
#5
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:1: can't find string "EOF" anywhere before EOF
script.rb:1: syntax error, unexpected end-of-input, expecting ')'
0.1 s 8 KBi
#6
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:1: can't find string "EOF" anywhere before EOF
script.rb:1: syntax error, unexpected end-of-input, expecting ')'
0.105 s 9 KBi
#7
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:1: can't find string "EOF" anywhere before EOF
script.rb:1: syntax error, unexpected end-of-input, expecting ')'
0.081 s 8 KBi
#8
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:1: can't find string "EOF" anywhere before EOF
script.rb:1: syntax error, unexpected end-of-input, expecting ')'
0.074 s 9 KBi
#9
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:1: can't find string "EOF" anywhere before EOF
script.rb:1: syntax error, unexpected end-of-input, expecting ')'
0.068 s 9 KBi
#10
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:1: can't find string "EOF" anywhere before EOF
script.rb:1: syntax error, unexpected end-of-input, expecting ')'
0.081 s 8 KBi
#11
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:1: can't find string "EOF" anywhere before EOF
script.rb:1: syntax error, unexpected end-of-input, expecting ')'
0.083 s 9 KBi
#12
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:1: can't find string "EOF" anywhere before EOF
script.rb:1: syntax error, unexpected end-of-input, expecting ')'
0.098 s 8 KBi
#13
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:1: can't find string "EOF" anywhere before EOF
script.rb:1: syntax error, unexpected end-of-input, expecting ')'
0.091 s 8 KBi
#14
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:1: can't find string "EOF" anywhere before EOF
script.rb:1: syntax error, unexpected end-of-input, expecting ')'
0.09 s 9 KBi
#15
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:1: can't find string "EOF" anywhere before EOF
script.rb:1: syntax error, unexpected end-of-input, expecting ')'
0.056 s 8 KBi
#16
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:1: can't find string "EOF" anywhere before EOF
script.rb:1: syntax error, unexpected end-of-input, expecting ')'
0.07 s 8 KBi
#17
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:1: can't find string "EOF" anywhere before EOF
script.rb:1: syntax error, unexpected end-of-input, expecting ')'
0.068 s 8 KBi
#18
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:1: can't find string "EOF" anywhere before EOF
script.rb:1: syntax error, unexpected end-of-input, expecting ')'
0.073 s 8 KBi
#19
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:1: can't find string "EOF" anywhere before EOF
script.rb:1: syntax error, unexpected end-of-input, expecting ')'
0.078 s 8 KBi
#20
Error en tiempo de ejecución (NZEC)
Exited with error status 1
script.rb:1: can't find string "EOF" anywhere before EOF
script.rb:1: syntax error, unexpected end-of-input, expecting ')'
0.08 s 8 KBi
Puntos totales: 0 / 100

Código

print(<<EOF
Yes
Yes
Yes
Yes
No
No
EOF)