Borderou de evaluare (job #1447844)

Utilizator SilviuIIon Silviu SilviuI Data 5 iunie 2015 16:41:23
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)+1; 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); 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
116ms12736kbRaspuns gresit0
216ms12740kbRaspuns gresit0
316ms12736kbOk!5
416ms12736kbRaspuns gresit0
516ms12740kbRaspuns gresit0
616ms12740kbRaspuns gresit0
716ms12744kbRaspuns gresit0
816ms12752kbRaspuns gresit0
916ms12760kbRaspuns gresit0
1016ms12784kbRaspuns gresit0
1116ms12824kbRaspuns gresit0
1216ms12920kbRaspuns gresit0
1320ms13096kbRaspuns gresit0
1428ms13460kbRaspuns gresit0
1536ms14188kbRaspuns gresit0
1664ms15636kbRaspuns gresit0
17112ms18536kbRaspuns gresit0
18224ms24340kbRaspuns gresit0
19316ms32660kbKilled by signal 11(SIGSEGV).0
20Depăşit41356kbTime limit exceeded.0
Punctaj total5

Ceva nu functioneaza?