Borderou de evaluare (job #1481284)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 4 septembrie 2015 09:35:09
Problema Triplete Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:8:20: error: incompatible types when assigning to type ‘int[4100]’ from type ‘int’ c[a[i]]=b[i]; ^ user.c:10:20: error: incompatible types when assigning to type ‘int[4100]’ from type ‘int’ c[b[i]]=a[i]; ^ user.c:13:18: error: invalid operands to binary & (have ‘int *’ and ‘int *’) for(r=c[a[j]]&c[b[j]];r;r/=2) ^ user.c:4:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("triplete.in","r",stdin),freopen("triplete.out","w",stdout),scanf("%d%d",&n,&m); ^ user.c:4:45: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("triplete.in","r",stdin),freopen("triplete.out","w",stdout),scanf("%d%d",&n,&m); ^ user.c:4:78: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] freopen("triplete.in","r",stdin),freopen("triplete.out","w",stdout),scanf("%d%d",&n,&m); ^ user.c:6:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",a+i,b+i); ^

Ceva nu functioneaza?