Borderou de evaluare (job #1330315)

Utilizator GoldustBajatul de Aur Goldust Data 30 ianuarie 2015 16:10:29
Problema Delay Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:13:16: error: unknown type name ‘node’ typedef struct node {long next; node* urm;} *pnod; ^ user.c:23:6: warning: return type of ‘main’ is not ‘int’ [-Wmain] void main() ^ user.c: In function ‘main’: user.c:38:7: error: ‘new’ undeclared (first use in this function) aux=new node; ^ user.c:38:7: note: each undeclared identifier is reported only once for each function it appears in user.c:38:11: error: expected ‘;’ before ‘node’ aux=new node; ^ user.c:40:11: warning: assignment from incompatible pointer type [enabled by default] aux->urm=muc[i]; ^ user.c:43:11: error: expected ‘;’ before ‘node’ aux=new node; ^ user.c:45:11: warning: assignment from incompatible pointer type [enabled by default] aux->urm=muc[j]; ^ user.c:52:5: error: expected expression before ‘long’ sqn=long(sqrt(n)); ^ user.c: In function ‘df’: user.c:170:6: warning: assignment from incompatible pointer type [enabled by default] aux=aux->urm; ^ user.c: In function ‘main’: user.c:25:8: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("delay.in","r",stdin); ^ user.c:26:8: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("delay.out","w",stdout); ^ user.c:29:6: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.c:31:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&t[i]); ^ user.c:36:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&i,&j); ^ user.c:74:6: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&m); ^ user.c:77:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]

Ceva nu functioneaza?