Pagini recente » Borderou de evaluare (job #1715799) | Borderou de evaluare (job #2707081) | Borderou de evaluare (job #330132) | Borderou de evaluare (job #1081485) | Borderou de evaluare (job #1483962)
Borderou de evaluare (job #1483962)
Raport evaluator
Compilare:
user.c: In function ‘prod’:
user.c:11:2: warning: return from incompatible pointer type [enabled by default]
return res;
^
user.c:11:2: warning: function returns address of local variable [-Wreturn-local-addr]
user.c: In function ‘put’:
user.c:17:3: warning: return from incompatible pointer type [enabled by default]
return res;
^
user.c:17:3: warning: function returns address of local variable [-Wreturn-local-addr]
user.c:19:2: warning: passing argument 1 of ‘prod’ from incompatible pointer type [enabled by default]
int** res = prod(put(n, p/2), put(n, p/2));
^
user.c:4:7: note: expected ‘int (*)[2]’ but argument is of type ‘int **’
int** prod(int a[2][2], int b[2][2]) {
^
user.c:19:2: warning: passing argument 2 of ‘prod’ from incompatible pointer type [enabled by default]
int** res = prod(put(n, p/2), put(n, p/2));
^
user.c:4:7: note: expected ‘int (*)[2]’ but argument is of type ‘int **’
int** prod(int a[2][2], int b[2][2]) {
^
user.c:21:3: warning: passing argument 1 of ‘prod’ from incompatible pointer type [enabled by default]
res = prod(res, n);
^
user.c:4:7: note: expected ‘int (*)[2]’ but argument is of type ‘int **’
int** prod(int a[2][2], int b[2][2]) {
^
user.c: In function ‘main’:
user.c:29:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d\n", &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | Incorect | 0 |
2 | 16ms | 256kb | Incorect | 0 |
3 | 16ms | 248kb | Incorect | 0 |
4 | 16ms | 252kb | Incorect | 0 |
5 | Depăşit | 224kb | Time limit exceeded. | 0 |
6 | Depăşit | 224kb | Time limit exceeded. | 0 |
7 | Depăşit | 220kb | Time limit exceeded. | 0 |
8 | Depăşit | 220kb | Time limit exceeded. | 0 |
9 | Depăşit | 224kb | Time limit exceeded. | 0 |
10 | Depăşit | 224kb | Time limit exceeded. | 0 |
11 | Depăşit | 224kb | Time limit exceeded. | 0 |
12 | Depăşit | 228kb | Time limit exceeded. | 0 |
13 | Depăşit | 220kb | Time limit exceeded. | 0 |
14 | Depăşit | 224kb | Time limit exceeded. | 0 |
15 | Depăşit | 224kb | Time limit exceeded. | 0 |
16 | Depăşit | 224kb | Time limit exceeded. | 0 |
17 | Depăşit | 224kb | Time limit exceeded. | 0 |
18 | Depăşit | 228kb | Time limit exceeded. | 0 |
19 | Depăşit | 220kb | Time limit exceeded. | 0 |
20 | Depăşit | 224kb | Time limit exceeded. | 0 |
Punctaj total | 0 |