Pagini recente » Cod sursa (job #2587342) | Cod sursa (job #487433) | Cod sursa (job #484351) | Monitorul de evaluare | Borderou de evaluare (job #2588410)
Borderou de evaluare (job #2588410)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:48:13: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
a[i]=(int *)malloc(2*sizeof(int));
^
main.c:50:12: warning: passing argument 1 of 'citire' from incompatible pointer type [-Wincompatible-pointer-types]
citire(a,size,f);
^
main.c:4:6: note: expected 'int **' but argument is of type 'int *'
void citire(int** a,int n,FILE* f)
^~~~~~
main.c:51:13: warning: passing argument 1 of 'afisare' from incompatible pointer type [-Wincompatible-pointer-types]
afisare(a,size,g);
^
main.c:28:6: note: expected 'int **' but argument is of type 'int *'
void afisare(int** a,int n,FILE* g)
^~~~~~~
main.c: In function 'citire':
main.c:10:13: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&a[i][j]);
^~~~~~~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:44:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&size);
^~~~~~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 3ms | 131kb | Killed by Signal 11 | 0 | 0 |
| 2 | 2ms | 131kb | Killed by Signal 11 | 0 | 0 |
| 3 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 4 | 3ms | 131kb | Killed by Signal 11 | 0 | 0 |
| 5 | 3ms | 131kb | Killed by Signal 11 | 0 | 0 |
| 6 | 2ms | 131kb | Killed by Signal 11 | 0 | 0 |
| 7 | 2ms | 131kb | Killed by Signal 11 | 0 | 0 |
| 8 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 9 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 10 | 2ms | 131kb | Killed by Signal 11 | 0 |
| Punctaj total | 0 |