<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1457819883862_3002"><span>Salut,</span></div><div id="yui_3_16_0_1_1457819883862_3017"><br><span></span></div><div dir="ltr" id="yui_3_16_0_1_1457819883862_3018"><span id="yui_3_16_0_1_1457819883862_3328">Si eu am problema cu teste picate din cauza spatiilor... La cateva teste am output ce difera prin cateva linii goale fata de rezultatele din ref. Din cate am vazut se testeaza cu diff -B, deci nu ar trebui ca din cauza liniilor goale sa pice testele. </span></div><div id="yui_3_16_0_1_1457819883862_3517" dir="ltr"><span id="yui_3_16_0_1_1457819883862_3328">Care ar putea fi problema?<br></span></div><div id="yui_3_16_0_1_1457819883862_3330" dir="ltr"><span id="yui_3_16_0_1_1457819883862_3329">Am incercat sa scap de aceste linii, de exemplu testul 13 imi da identic local cu cel din ref folosind comanda diff, dar testul tot nu imi trece de checker</span></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font face="Arial" size="2"> On Saturday, March 12, 2016 11:22 PM, Bogdan Stefan via so <so@cursuri.cs.pub.ro> wrote:<br></font></div> <br><br> <div class="y_msg_container"><div id="yiv7775943373"><div><div dir="ltr">Greseala era ca printam valorile din bucket intr-un while, iar apoi in afara lui un "\n", indiferent daca au fost printate valori sau nu.<div><br clear="none"></div><div>Am verificat daca bucketul e gol(caz in care nu mai printez acel newline) si s-a rezolvat. :)</div></div><div class="yiv7775943373gmail_extra"><br clear="none"><div class="yiv7775943373yqt8721531013" id="yiv7775943373yqtfd37395"><div class="yiv7775943373gmail_quote">2016-03-12 23:16 GMT+02:00 Mihai Barbulescu <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:b12mihai@gmail.com" target="_blank" href="mailto:b12mihai@gmail.com">b12mihai@gmail.com</a>></span>:<br clear="none"><blockquote class="yiv7775943373gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><span class="yiv7775943373">2016-03-12 23:16 GMT+02:00 Bogdan Stefan <<a rel="nofollow" shape="rect" ymailto="mailto:bogdan.stefan3@gmail.com" target="_blank" href="mailto:bogdan.stefan3@gmail.com">bogdan.stefan3@gmail.com</a>>:<br clear="none">
> Am rezolvat acum, am inteles ce greseala faceam.<br clear="none">
><br clear="none">
> Multumesc pentru ajutor!<br clear="none">
<br clear="none">
</span>Cu multa placere, dar spune-ne mai concret, in cuvinte, care era exact<br clear="none">
greseala :) Sa nu o faca si altii.<br clear="none">
<div class="yiv7775943373HOEnZb"><div class="yiv7775943373h5"><br clear="none">
--<br clear="none">
Cu stimă,<br clear="none">
Mihai Bărbulescu<br clear="none">
</div></div></blockquote></div><br clear="none"></div></div></div></div><br><div class="yqt8721531013" id="yqtfd07252">_______________________________________________<br clear="none"><a shape="rect" href="http://ocw.cs.pub.ro/courses/so/info/lista-discutii" target="_blank">http://ocw.cs.pub.ro/courses/so/info/lista-discutii</a></div><br><br></div> </div> </div> </div></div></body></html>