Borderou de evaluare (job #1484490)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 11 septembrie 2015 12:30:20
Problema Distante Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:8: error: variable or field ‘D’ declared void void D(Nod *&q,int a,int b) { ^ user.cpp:8:8: error: ‘Nod’ was not declared in this scope user.cpp:8:14: error: ‘q’ was not declared in this scope void D(Nod *&q,int a,int b) { ^ user.cpp:8:16: error: expected primary-expression before ‘int’ void D(Nod *&q,int a,int b) { ^ user.cpp:8:22: error: expected primary-expression before ‘int’ void D(Nod *&q,int a,int b) { ^ user.cpp: In function ‘int main()’: user.cpp:19:48: error: ‘D’ was not declared in this scope scanf("%d%d%d",&i,&k,&c),D(g[i],k,c),D(g[k],i,c); ^ user.cpp:13:87: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("distante.in","r",stdin),freopen("distante.out","w",stdout),scanf("%d",&t); ^ user.cpp:13:87: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:13:87: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:15:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&m,&s); ^ user.cpp:17:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",d+i),f[i]=0; ^

Ceva nu functioneaza?