Borderou de evaluare (job #749243)

Utilizator avatar Andreea3425 Diaconu Andreea Andreea3425 IP ascuns
Problemă Oraș (clasa a 8-a) Compilator c-32
Rundă Tema 11 clasa a 7-a Status evaluat
Dată 3 dec. 2023 16:13:21 Scor 100

Raport evaluator

Compilare: main.c: In function 'fill': main.c:17:29: warning: passing argument 3 of 'fill' from incompatible pointer type [-Wincompatible-pointer-types] 17 | a+=fill(l+1, c, &p); | ^~ | | | int ** main.c:8:29: note: expected 'int *' but argument is of type 'int **' 8 | int fill(int l, int c, int *p){ | ~~~~~^ main.c:19:29: warning: passing argument 3 of 'fill' from incompatible pointer type [-Wincompatible-pointer-types] 19 | a+=fill(l-1, c, &p); | ^~ | | | int ** main.c:8:29: note: expected 'int *' but argument is of type 'int **' 8 | int fill(int l, int c, int *p){ | ~~~~~^ main.c:21:29: warning: passing argument 3 of 'fill' from incompatible pointer type [-Wincompatible-pointer-types] 21 | a+=fill(l, c+1, &p); | ^~ | | | int ** main.c:8:29: note: expected 'int *' but argument is of type 'int **' 8 | int fill(int l, int c, int *p){ | ~~~~~^ main.c:23:29: warning: passing argument 3 of 'fill' from incompatible pointer type [-Wincompatible-pointer-types] 23 | a+=fill(l, c-1, &p); | ^~ | | | int ** main.c:8:29: note: expected 'int *' but argument is of type 'int **' 8 | int fill(int l, int c, int *p){ | ~~~~~^ main.c:28:26: warning: passing argument 3 of 'fill' from incompatible pointer type [-Wincompatible-pointer-types] 28 | fill(l+1, c, &p); | ^~ | | | int ** main.c:8:29: note: expected 'int *' but argument is of type 'int **' 8 | int fill(int l, int c, int *p){ | ~~~~~^ main.c:30:26: warning: passing argument 3 of 'fill' from incompatible pointer type [-Wincompatible-pointer-types] 30 | fill(l-1, c, &p); | ^~ | | | int ** main.c:8:29: note: expected 'int *' but argument is of type 'int **' 8 | int fill(int l, int c, int *p){ | ~~~~~^ main.c:32:26: warning: passing argument 3 of 'fill' from incompatible pointer type [-Wincompatible-pointer-types]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 241 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 503 kb OK 10
7 1 ms 249 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 249 kb OK 10
Punctaj total 100