Borderou de evaluare (job #1472583)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 17 august 2015 13:13:35
Problema Hashuri Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:5:2: error: unknown type name ‘O’ O *U; ^ user.c: In function ‘F’: user.c:10:16: warning: assignment from incompatible pointer type [enabled by default] for(N *p=l;p;p=p->U) ^ user.c: At top level: user.c:15:11: error: expected ‘;’, ‘,’ or ‘)’ before ‘&’ token void A(N *&l,int y) { ^ user.c:19:11: error: expected ‘;’, ‘,’ or ‘)’ before ‘&’ token void D(N *&l,int y) { ^ user.c: In function ‘main’: user.c:37:14: warning: implicit declaration of function ‘A’ [-Wimplicit-function-declaration] A(h[y%1000001],y); ^ user.c:41:17: warning: implicit declaration of function ‘D’ [-Wimplicit-function-declaration] D(h[y%1000001],y); ^ user.c:32:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("hashuri.in","r",stdin),freopen("hashuri.out","w",stdout),scanf("%d",&n); ^ user.c:32:41: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("hashuri.in","r",stdin),freopen("hashuri.out","w",stdout),scanf("%d",&n); ^ user.c:32:73: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] freopen("hashuri.in","r",stdin),freopen("hashuri.out","w",stdout),scanf("%d",&n); ^ user.c:34:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&y); ^

Ceva nu functioneaza?