Borderou de evaluare (job #1350213)

Utilizator dragos_vecerdeaVecerdea Dragos dragos_vecerdea Data 20 februarie 2015 18:30:39
Problema Pluton Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:49:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(maxx<este[cnt][sum][sumnr]) ^ user.cpp:56:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(maxx==este[cnt][sum][sumnr])cate++; ^ user.cpp:62:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(maxx<este[cnt][sum][sumnr]) ^ user.cpp:69:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(maxx==este[cnt][sum][sumnr])cate++; ^ user.cpp:93:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(bloc==0 && este[cnt][sum][sumnr]==maxx) ^ user.cpp:25:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin ,"%d" ,&n); ^ user.cpp:28:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin ,"%d" ,&v[i]); ^ user.cpp:103:55: warning: ‘diag’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(bloc==1 && cnt==lin && col==sum && diag==sumnr) fprintf(fout ,"%d " ,v[i]); ^ user.cpp:103:42: warning: ‘col’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(bloc==1 && cnt==lin && col==sum && diag==sumnr) fprintf(fout ,"%d " ,v[i]); ^ user.cpp:103:30: warning: ‘lin’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(bloc==1 && cnt==lin && col==sum && diag==sumnr) fprintf(fout ,"%d " ,v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms344kbNumar incorect de plutoane!00
20ms428kbNumar incorect de plutoane!0
30ms260kbOk!10
40ms260kbOk!10
54ms280kbOk!10
60ms928kbNumar incorect de plutoane!00
70msDepăşitMemory limit exceeded.0
80ms1012kbNumar incorect de plutoane!0
90ms268kbKilled by signal 11(SIGSEGV).0
100ms396kbOk!10
Punctaj total0

Ceva nu functioneaza?