Pagini recente » Borderou de evaluare (job #242631) | Borderou de evaluare (job #3030686) | Borderou de evaluare (job #1788351) | Borderou de evaluare (job #179971) | Borderou de evaluare (job #1533577)
Borderou de evaluare (job #1533577)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( j=0;j<v[i].size();j++)
^
user.cpp:58:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=j+1;k<v[i].size();k++)
^
user.cpp:65:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=1;j<v[i].size();j++)
^
user.cpp:30:11: warning: unused variable ‘z’ [-Wunused-variable]
{ int n,z,a,b,d,i,j,nrp=0,r,t,nr,ma=-1,ok,nrmax;
^
user.cpp:30:17: warning: unused variable ‘d’ [-Wunused-variable]
{ int n,z,a,b,d,i,j,nrp=0,r,t,nr,ma=-1,ok,nrmax;
^
user.cpp: In function ‘void cit(int&)’:
user.cpp:13:40: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(poz==DIM){fread(buff,1,DIM,fila); poz=0;}
^
user.cpp:20:42: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(poz==DIM){fread(buff,1,DIM,fila);poz=0;}
^
user.cpp: In function ‘int main()’:
user.cpp:70:34: warning: ‘nrmax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
out<<nrp<<" "<<ma<<" "<<nrmax;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 460kb | Prima si a treia valoare gresite! | 5 |
2 | 0ms | 452kb | OK! | 10 |
3 | 0ms | 456kb | Prima valoare gresita! | 8 |
4 | 0ms | 468kb | Prima valoare gresita! | 8 |
5 | 0ms | 480kb | Toate valorile sunt gresite! | 0 |
6 | 0ms | 504kb | Prima si a treia valoare gresite! | 5 |
7 | 0ms | 512kb | Toate valorile sunt gresite! | 0 |
8 | 4ms | 524kb | Prima si a treia valoare gresite! | 5 |
9 | 4ms | 524kb | Prima valoare gresita! | 8 |
10 | 0ms | 452kb | OK! | 10 |
Punctaj total | 59 |