Borderou de evaluare (job #1191165)

Utilizator HashiraGrigore Vlad Hashira Data 26 mai 2014 18:58:38
Problema Cerc5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void intersc(NOD*&)’: user.cpp:25:5: error: ‘p1u’ was not declared in this scope p1u=p1->urm; ^ user.cpp:28:5: error: ‘p2a’ was not declared in this scope p2a=p2->ant; ^ user.cpp: In function ‘int main()’: user.cpp:45:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cerc5.in","r",stdin); ^ user.cpp:46:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cerc5.out","w",stdout); ^ user.cpp:51:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&p,&n,&k); ^ user.cpp:55:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^

Ceva nu functioneaza?