Borderou de evaluare (job #1447846)

Utilizator SilviuIIon Silviu SilviuI Data 5 iunie 2015 16:47:53
Problema Biti Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘void back(int, int)’: user.cpp:29:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0;j<g[nod].size();j++) ^ user.cpp: In function ‘int main()’: user.cpp:41:17: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] if (i>>(n-1)&1==1) nextt=curent*2-(1<<n); else ^ user.cpp:44:17: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] if (i>>(n-1)&1==1) nextt=curent*2-(1<<n)+1; else ^ user.cpp:35:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("biti.in","r",stdin); ^ user.cpp:36:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("biti.out","w",stdout); ^ user.cpp:37:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
116ms12732kbRaspuns gresit0
216ms12728kbRaspuns gresit0
316ms12732kbOk!5
416ms12728kbRaspuns gresit0
516ms12728kbRaspuns gresit0
616ms12728kbRaspuns gresit0
716ms12736kbRaspuns gresit0
816ms12744kbRaspuns gresit0
916ms12756kbRaspuns gresit0
1016ms12776kbRaspuns gresit0
1116ms12816kbRaspuns gresit0
1216ms12908kbRaspuns gresit0
1320ms13092kbRaspuns gresit0
1424ms13452kbRaspuns gresit0
1532ms14180kbRaspuns gresit0
1656ms15632kbRaspuns gresit0
17100ms18532kbRaspuns gresit0
18188ms24332kbRaspuns gresit0
19244ms32648kbKilled by signal 11(SIGSEGV).0
20404ms42884kbKilled by signal 11(SIGSEGV).0
Punctaj total5

Ceva nu functioneaza?