Pagini recente » Borderou de evaluare (job #118469) | Borderou de evaluare (job #2868711) | Borderou de evaluare (job #1334412) | Borderou de evaluare (job #1566049) | Borderou de evaluare (job #1209060)
Borderou de evaluare (job #1209060)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:25:5: warning: passing argument 1 of ‘loadarray’ from incompatible pointer type [enabled by default]
loadarray(a, n, f);
^
user.c:9:6: note: expected ‘int *’ but argument is of type ‘long int *’
void loadarray(int a[], size_t n, FILE *f)
^
user.c:26:5: warning: passing argument 1 of ‘loadarray’ from incompatible pointer type [enabled by default]
loadarray(b, n, f);
^
user.c:9:6: note: expected ‘int *’ but argument is of type ‘long int *’
void loadarray(int a[], size_t n, FILE *f)
^
user.c:32:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g, "%d", val);
^
user.c: In function ‘loadarray’:
user.c:12:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &a[i]);
^
user.c: In function ‘main’:
user.c:22:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 272kb | Incorect | 0 |
4 | 0ms | 272kb | Incorect | 0 |
5 | 52ms | 840kb | Incorect | 0 |
6 | 112ms | 1436kb | Incorect | 0 |
7 | 120ms | 1428kb | Incorect | 0 |
8 | 116ms | 1432kb | Incorect | 0 |
9 | 116ms | 1436kb | Incorect | 0 |
10 | 116ms | 1432kb | Incorect | 0 |
Punctaj total | 20 |