Oracle MDC Coding challenge
¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.

Help w/ Debugging your Output

3 participantes

Ir abajo

Help w/ Debugging your Output Empty Help w/ Debugging your Output

Mensaje por erikpeterson Mar Ene 12, 2016 5:39 pm

We've added support on the original site
apex.oracle.com/pls/apex/f?p=MDC_MOVIE:9
for seeing what is the last movie the validator stops at.

If you are having concerns we are not parsing your string properly you can upload here.
Two additional columns are now provided in the results report.
Last Movie - furthest movie we where able to follow as valid
Word from the End - how many words are we from the end result.  Includes last movie.

Sorry this is only on the APEX website but the validator is in PL/SQL so this was simpler to implement.

Hope this is helpful.

erikpeterson

Mensajes : 25
Fecha de inscripción : 06/01/2016

Volver arriba Ir abajo

Help w/ Debugging your Output Empty Re: Help w/ Debugging your Output

Mensaje por johnnyblaze Mar Ene 12, 2016 8:37 pm

I have problems with the submit, yesterday I was able to submit my code and the result was:
Test 1
WRONG
Test 2
ACCEPT

Today trying to submit the same code my result was:
Test 1
WRONG
Test 2
WRONG
The code was the same, have you changed anything? I still do not find problems with my code

johnnyblaze

Mensajes : 3
Fecha de inscripción : 12/01/2016

Volver arriba Ir abajo

Help w/ Debugging your Output Empty Re: Help w/ Debugging your Output

Mensaje por erikpeterson Mar Ene 12, 2016 11:57 pm

did you validate your output on the APEX server?

erikpeterson

Mensajes : 25
Fecha de inscripción : 06/01/2016

Volver arriba Ir abajo

Help w/ Debugging your Output Empty Re: Help w/ Debugging your Output

Mensaje por johnnyblaze Miér Ene 13, 2016 6:16 pm

The string is valid using the APEX server, and the new two columns seem to be correct. Today when I submit the same code submitted yesterday my result was:
Test 1
WRONG
Test 2
ACCEPT
I'm sure I do not print or save any extra data in the code.

johnnyblaze

Mensajes : 3
Fecha de inscripción : 12/01/2016

Volver arriba Ir abajo

Help w/ Debugging your Output Empty Re: Help w/ Debugging your Output

Mensaje por erikpeterson Jue Ene 14, 2016 7:58 am

was your code uploaded w/ your solution to APEX? What is the first part of your email so i can compre the record?
Thanks,
erik

erikpeterson

Mensajes : 25
Fecha de inscripción : 06/01/2016

Volver arriba Ir abajo

Help w/ Debugging your Output Empty Re: Help w/ Debugging your Output

Mensaje por johnnyblaze Jue Ene 14, 2016 10:32 am

Yes, mi code is also uploaded to APEX, the first part is jctorresluna,
thank you so much

johnnyblaze

Mensajes : 3
Fecha de inscripción : 12/01/2016

Volver arriba Ir abajo

Help w/ Debugging your Output Empty Re: Help w/ Debugging your Output

Mensaje por erikpeterson Jue Ene 14, 2016 10:54 pm

Johnny. We checked your code and you do actually manage to fail the first test in a novel way.
You have a bug. Good luck figuring it out! Wink

-Erik

erikpeterson

Mensajes : 25
Fecha de inscripción : 06/01/2016

Volver arriba Ir abajo

Help w/ Debugging your Output Empty I'm getting WA on everything on the online judge

Mensaje por edgarciarod Vie Ene 15, 2016 8:08 pm

Apex validates everything I send, but the online judge rejects everything I send.
I don't know what else to do.

edgarciarod

Mensajes : 1
Fecha de inscripción : 19/11/2015

Volver arriba Ir abajo

Help w/ Debugging your Output Empty Re: Help w/ Debugging your Output

Mensaje por erikpeterson Dom Ene 17, 2016 7:26 pm

The only cases when they should be different are the following:
a) your code is dependent on the order of the movies in the list
(added to avoid a hack Miguel shared w/ us)
b) your code is dependent on having the same movies in the program
(we added this to avoid just print of solutions)

If not you can always request a manual review of your solution.
We will do these tomorrow after closed time.

Johnny's case above was skipping the first input movie so would fail Test 1

erikpeterson

Mensajes : 25
Fecha de inscripción : 06/01/2016

Volver arriba Ir abajo

Help w/ Debugging your Output Empty Re: Help w/ Debugging your Output

Mensaje por Contenido patrocinado


Contenido patrocinado


Volver arriba Ir abajo

Volver arriba


 
Permisos de este foro:
No puedes responder a temas en este foro.