Pagini recente » Borderou de evaluare (job #98158) | Borderou de evaluare (job #450754) | Borderou de evaluare (job #3259193) | Borderou de evaluare (job #718552) | Borderou de evaluare (job #1683848)
Borderou de evaluare (job #1683848)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:54:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(in, "%d", &n);
^
user.c:56:5: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
arr = (long *) malloc(n * sizeof(long));
^
user.c:56:20: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default]
arr = (long *) malloc(n * sizeof(long));
^
user.c:59:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(in, "%d", &arr[i]);
^
user.c:70:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(out, "%d ", arr[i]);
^
user.c:54:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &n);
^
user.c:59:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &arr[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 268kb | OK | 5 | 0 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 264kb | OK | 5 |
4 | 0ms | 268kb | OK | 5 |
5 | 0ms | 268kb | OK | 5 | 0 |
6 | 0ms | 268kb | Incorect | 0 |
7 | 0ms | 272kb | Incorect | 0 |
8 | 0ms | 272kb | OK | 5 |
9 | 80ms | 664kb | Incorect | 0 | 0 |
10 | 72ms | 664kb | OK | 5 |
11 | 68ms | 664kb | Incorect | 0 |
12 | 76ms | 660kb | OK | 5 |
13 | 296ms | 1644kb | Incorect | 0 | 0 |
14 | 252ms | 1640kb | Incorect | 0 |
15 | 264ms | 1636kb | Incorect | 0 |
16 | 268ms | 1636kb | OK | 5 |
17 | 436ms | 2224kb | OK | 5 | 20 |
18 | 380ms | 2220kb | OK | 5 |
19 | 396ms | 2220kb | OK | 5 |
20 | 396ms | 2224kb | OK | 5 |
Punctaj total | 20 |