Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflicto Server v/s Solutions #85

Closed
jigodoy opened this issue Apr 24, 2023 · 3 comments
Closed

Conflicto Server v/s Solutions #85

jigodoy opened this issue Apr 24, 2023 · 3 comments
Labels

Comments

@jigodoy
Copy link

jigodoy commented Apr 24, 2023

Hola! Hice la parte 2 (quicksort), y cuando comparo mi output con la solución esperada de varios tests, no tengo problemas (usé diffchecker y diff), pero cuando ocupo el server me dice WRONG OUTPUT en todos los tests.

@Baelfire18
Copy link
Contributor

@jigodoy acabo de clonar tu tarea y no es así.

Por ejemplo en el test easy_a.txt, la respuesta esperada es:

3.0 6.1169 5.6 6.0
8.0 2.6191 6.8 6.0
7.0 4.3941 4.4 5.0
10.0 5.2405 5.6 5.0
9.0 8.7571 4.1 3.0
1.0 2.2318 5.1 3.0
2.0 6.6369 5.1 3.0
4.0 6.6369 5.1 3.0
5.0 8.7243 5.9 1.0
6.0 1.8966 6.3 1.0

y tu respondes:

5.0 8.7243 5.9 1.0
6.0 1.8966 6.3 1.0
9.0 8.7571 4.1 3.0
1.0 2.2318 5.1 3.0
2.0 6.6369 5.1 3.0
4.0 6.6369 5.1 3.0
7.0 4.3941 4.4 5.0
10.0 5.2405 5.6 5.0
3.0 6.1169 5.6 6.0
8.0 2.6191 6.8 6.0

lo cual es incorrecto

@Baelfire18 Baelfire18 added the T1 label Apr 25, 2023
@jigodoy
Copy link
Author

jigodoy commented Apr 25, 2023

Oka, igual revise mis tests y aparece que la solución correcta para el testcase easy_a.txt es

5.0 8.7243 5.9 1.0
6.0 1.8966 6.3 1.0
9.0 8.7571 4.1 3.0
4.0 6.6369 5.1 3.0
2.0 3.9682 5.3 3.0
1.0 2.2318 6.9 3.0
7.0 4.3941 4.4 5.0
10.0 5.2405 5.6 5.0
3.0 6.1169 5.6 6.0
8.0 2.6191 6.8 6.0

No se a que se debe pero cambiare el codigo al tiro. Gracias

@Baelfire18
Copy link
Contributor

revisa los testcases del drive, es posible que tu haya sobreescrito las respuestas correctas en tu compu sin darte cuenta y no eso te aparecen las tuyas "iguales a las correctas"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants