Borderou de evaluare (job #1879868)

Utilizator TudorFinaruTudor Cristian Finaru TudorFinaru Data 15 februarie 2017 10:46:46
Problema Triunghi5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 55

Raport evaluator

Compilare: user.cpp: In function ‘void cerinta_1()’: user.cpp:11:11: warning: unused variable ‘factor’ [-Wunused-variable] int i,factor=1,maxi; ^ user.cpp:11:20: warning: unused variable ‘maxi’ [-Wunused-variable] int i,factor=1,maxi; ^ user.cpp: In function ‘void cerinta_2()’: user.cpp:29:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=a[i];j<a[i+1];j+=b[indice++]+1) ^ user.cpp:30:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] {if(b[dim]+j <= a[i+1] && dim!=k && j!=a[i] && j+a[i+1]<=a[i+2])b[++dim]=j; ^ user.cpp:37:35: warning: operation on ‘dim’ may be undefined [-Wsequence-point] b[++dim]=b[dim-1]+b[dim-2]; ^ user.cpp:37:35: warning: operation on ‘dim’ may be undefined [-Wsequence-point]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms416kbLungimi invalide in OUTPUT0
20ms412kbCorect5
30ms420kbCorect5
40ms416kbCorect5
50ms412kbCorect5
60ms412kbCorect5
70ms412kbCorect5
80ms412kbLungimi invalide in OUTPUT0
90ms416kbLungimi invalide in OUTPUT0
100ms416kbCorect !5
110ms416kbCorect !5
120ms416kbCorect !5
130ms420kbCorect !5
140ms588kbKilled by signal 11(SIGSEGV).0
150ms416kbLungimi invalide in OUTPUT0
160ms416kbCorect !5
170ms412kbLungimi invalide in OUTPUT0
180ms572kbKilled by signal 11(SIGSEGV).0
190ms420kblungimile formeaza triunghi !0
200ms568kbKilled by signal 11(SIGSEGV).0
Punctaj total55

Ceva nu functioneaza?