Borderou de evaluare (job #1447848)

Utilizator SilviuIIon Silviu SilviuI Data 5 iunie 2015 16:49:45
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
116ms12724kbRaspuns gresit0
216ms12716kbRaspuns gresit0
316ms12716kbOk!5
416ms12720kbRaspuns gresit0
516ms12720kbRaspuns gresit0
616ms12720kbRaspuns gresit0
716ms12732kbRaspuns gresit0
816ms12736kbRaspuns gresit0
916ms12748kbRaspuns gresit0
1016ms12764kbRaspuns gresit0
1116ms12808kbRaspuns gresit0
1216ms12904kbRaspuns gresit0
1320ms13084kbRaspuns gresit0
1424ms13444kbRaspuns gresit0
1532ms14172kbRaspuns gresit0
1652ms15620kbRaspuns gresit0
1796ms18520kbRaspuns gresit0
18192ms24328kbRaspuns gresit0
19252ms32644kbKilled by signal 11(SIGSEGV).0
20408ms42880kbKilled by signal 11(SIGSEGV).0
Punctaj total5

Ceva nu functioneaza?