Pagini recente » Borderou de evaluare (job #2702259) | Borderou de evaluare (job #1269102) | Borderou de evaluare (job #2955364) | Borderou de evaluare (job #718897) | Borderou de evaluare (job #2035539)
Borderou de evaluare (job #2035539)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:39:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.c:41:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &V[i]);
^
user.c:43:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &m);
^
user.c:45:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &type, &x);
^
user.c: In function ‘Upper_bound’:
user.c:18:2: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return pos;
^
user.c: In function ‘Lower_bound’:
user.c:32:2: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return pos;
^
user.c: In function ‘main’:
user.c:58:11: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fout, "%d\n", pos + 1);
^
user.c:55:11: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fout, "%d\n", pos + 1);
^
user.c:48:9: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (V[pos] != x) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 272kb | OK | 10 | 10 |
2 | 0ms | 268kb | OK | 10 | 10 |
3 | 0ms | 280kb | OK | 10 | 10 |
4 | 4ms | 272kb | OK | 10 | 10 |
5 | 20ms | 308kb | OK | 10 | 20 |
6 | 76ms | 468kb | OK | 10 |
7 | 116ms | 664kb | OK | 10 | 40 |
8 | 120ms | 656kb | OK | 10 |
9 | 120ms | 664kb | OK | 10 |
10 | 120ms | 664kb | OK | 10 |
Punctaj total | 100 |