Borderou de evaluare (job #1505330)

Utilizator MKLOLDragos Ristache MKLOL Data 19 octombrie 2015 00:19:36
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:1: error: expected initializer before ‘int’ int M,x,y,z; ^ user.cpp: In function ‘int comp(int)’: user.cpp:18:5: error: ‘ret’ was not declared in this scope ret = 0; ^ user.cpp: In function ‘int main()’: user.cpp:27:22: error: ‘M’ was not declared in this scope scanf("%d%d",&N,&M); ^ user.cpp:36:26: error: ‘y’ was not declared in this scope scanf("%d%d",&x,&y); ^ user.cpp:38:25: error: ‘z’ was not declared in this scope { scanf("%d",&z); ^ user.cpp:42:25: error: ‘z’ was not declared in this scope { scanf("%d",&z); ^ user.cpp:25:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("aib.in","r",stdin); ^ user.cpp:26:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("aib.out","w",stdout); ^ user.cpp:31:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^

Ceva nu functioneaza?