Pagini recente » Borderou de evaluare (job #1114637) | Borderou de evaluare (job #1922823) | Borderou de evaluare (job #2952430) | Borderou de evaluare (job #1877514) | Borderou de evaluare (job #1336789)
Borderou de evaluare (job #1336789)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:81: warning: variable ‘diag’ set but not used [-Wunused-but-set-variable]
int maxx=0 ,unic=0 , x ,cate=1 ,n ,i ,j,cnt ,sum ,lin ,col ,bloc=0 ,sumnr ,diag;
^
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:36: warning: ‘col’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(bloc==1 && cnt==lin && col==sum) 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) fprintf(fout ,"%d " ,v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 272kb | Numar incorect de plutoane! | 0 | 0 |
2 | 0ms | 296kb | Numar incorect de plutoane! | 0 |
3 | 0ms | 256kb | Ok! | 10 |
4 | 0ms | 260kb | Ok! | 10 |
5 | 4ms | 280kb | Ok! | 10 |
6 | 0ms | 300kb | Numar incorect de plutoane! | 0 | 0 |
7 | 0ms | 312kb | Numar incorect de plutoane! | 0 |
8 | 0ms | 312kb | Numar incorect de plutoane! | 0 |
9 | 0ms | 280kb | Numar incorect de plutoane! | 0 |
10 | 0ms | 272kb | Ok! | 10 |
Punctaj total | 0 |