Pagini recente » Borderou de evaluare (job #2286101) | Borderou de evaluare (job #3029250) | Borderou de evaluare (job #2660427) | Borderou de evaluare (job #873867) | Borderou de evaluare (job #2047089)
Borderou de evaluare (job #2047089)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:27:13: warning: unused variable ‘i’ [-Wunused-variable]
int n,j,i,x,m,poz,c;
^
user.c:28:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^
user.c:30:13: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&v[j]);
^
user.c:31:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&m);
^
user.c:34:13: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&c,&x);
^
user.c: In function ‘functie’:
user.c:20:3: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return ans;
^
user.c: In function ‘main’:
user.c:48:18: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fout,"%d\n",poz+1);
^
user.c:38:13: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(v[poz]==x)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 280kb | OK | 10 | 10 |
2 | 0ms | 276kb | OK | 10 | 10 |
3 | 0ms | 276kb | OK | 10 | 10 |
4 | 4ms | 284kb | OK | 10 | 10 |
5 | 20ms | 308kb | OK | 10 | 20 |
6 | 76ms | 468kb | OK | 10 |
7 | 120ms | 660kb | OK | 10 | 40 |
8 | 120ms | 660kb | OK | 10 |
9 | 124ms | 660kb | OK | 10 |
10 | 124ms | 656kb | OK | 10 |
Punctaj total | 100 |