Pagini recente » Borderou de evaluare (job #1490152) | Borderou de evaluare (job #2884429) | Borderou de evaluare (job #2747570) | Borderou de evaluare (job #1342476) | Borderou de evaluare (job #1955845)
Borderou de evaluare (job #1955845)
Raport evaluator
Compilare:
user.c: In function ‘max’:
user.c:9:5: warning: statement with no effect [-Wunused-value]
for(i;i<=j;i++)
^
user.c: In function ‘min’:
user.c:20:5: warning: statement with no effect [-Wunused-value]
for(i;i<=j;i++)
^
user.c: In function ‘main’:
user.c:30:17: warning: unused variable ‘q’ [-Wunused-variable]
int n,i,j,k,q,maxi,pozi,maxk,pozk,maxt=-1,pi,pj,pk;
^
user.c:34:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d",&n);
^
user.c:36:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d",&v[i]);
^
user.c:87: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:87:12: warning: ‘pj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.c:87:12: warning: ‘pi’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 300kb | OK | 10 |
2 | 0ms | 296kb | OK | 10 |
3 | 36ms | 300kb | OK | 10 |
4 | 48ms | 304kb | Incorect | 0 |
5 | 92ms | 308kb | Incorect | 0 |
6 | Depăşit | 332kb | Time limit exceeded. | 0 |
7 | Depăşit | 344kb | Time limit exceeded. | 0 |
8 | Depăşit | 348kb | Time limit exceeded. | 0 |
9 | Depăşit | 344kb | Time limit exceeded. | 0 |
10 | Depăşit | 348kb | Time limit exceeded. | 0 |
Punctaj total | 30 |