Pagini recente » Borderou de evaluare (job #638676) | Borderou de evaluare (job #62770) | Borderou de evaluare (job #122064) | Borderou de evaluare (job #3128537) | Borderou de evaluare (job #1955871)
Borderou de evaluare (job #1955871)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:8:17: warning: unused variable ‘q’ [-Wunused-variable]
int n,i,j,k,q,maxi,pozi,maxk,pozk,maxt=-1,pi,pj,pk,max,min;
^
user.c:12:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d",&n);
^
user.c:14:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d",&v[i]);
^
user.c:85:12: warning: ‘pk’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fo,"%d\n%d %d %d",maxt,pi+1,pj+1,pk+1);
^
user.c:85:12: warning: ‘pj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.c:85:12: warning: ‘pi’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 292kb | OK | 10 |
4 | 0ms | 292kb | Incorect | 0 |
5 | 0ms | 292kb | Incorect | 0 |
6 | 44ms | 336kb | OK | 10 |
7 | 84ms | 360kb | OK | 10 |
8 | 120ms | 364kb | OK | 10 |
9 | 124ms | 364kb | OK | 10 |
10 | 124ms | 360kb | OK | 10 |
Punctaj total | 80 |