Skip to content

Entrega Millo - Rinaldi 6°C Punteros Ejercicio 1#4

Open
AlejoMillo00 wants to merge 6 commits intogbobr:masterfrom
AlejoMillo00:master
Open

Entrega Millo - Rinaldi 6°C Punteros Ejercicio 1#4
AlejoMillo00 wants to merge 6 commits intogbobr:masterfrom
AlejoMillo00:master

Conversation

@AlejoMillo00
Copy link

No description provided.

@gbobr
Copy link
Owner

gbobr commented Oct 12, 2018

run tests

@gbobr
Copy link
Owner

gbobr commented Oct 12, 2018

Can one of the admins verify this patch?

Copy link
Owner

@gbobr gbobr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

El código no funciona debido a que el nombre de la función no coincide con el prototipo esperado.
Falta entrega del ejercicio 2

@gbobr
Copy link
Owner

gbobr commented Oct 18, 2018

Continúa sin compilar el ejercicio 1, Faltan ejercicios 2 y 3!

@gbobr
Copy link
Owner

gbobr commented Oct 18, 2018

add to whitelist

Copy link
Author

@AlejoMillo00 AlejoMillo00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SOLUCIONADO

@gbobr
Copy link
Owner

gbobr commented Oct 25, 2018

rerun tests

@gbobr
Copy link
Owner

gbobr commented Oct 25, 2018

rerun tests

@gbobr
Copy link
Owner

gbobr commented Oct 25, 2018

Falla la salida del ejercicio 3.
Recuerde que debe ser exactamente igual a lo que se espera, están faltando los títulos y luego de cada coma debe ir un espacio.

./ejercicio3 < test/input.txt | awk 'BEGIN{f=0} {if(f) print; if($1=="#SALIDA#") f=1;}' > output.txt
diff test/expected.txt output.txt
1,5c1,5
< ID, Nombre, Puntaje
< 3, Juan, 150
< 1, Nevermore, 100
< 0, Berserker, 97
< 2, r4t0, 71
---
> 
> 3,Juan,150
> 1,Nevermore,100
> 0,Berserker,97
> 2,r4t0,71

Para ver más detalles: https://jenkins-gbobr-ci.7e14.starter-us-west-2.openshiftapps.com/job/punteros2/47/


for(i=0;i < MAX_PLAYERS; i++)
{
printf("\n%d,", id[i]->id);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verificar formato de la salida, debe agregar un espacio luego de las comas

printf("\n#SALIDA#\n");

//A PARTIR DE ESTE PUNTO LA SALIDA DEL PROGRAMA DEBE COINCIDIR EXACTAMENTE CON EL LOTE DE PRUEBA

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Falta imprimir los títulos para que la salida coincida exactamente con el enunciado

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants