Borderou de evaluare (job #1708032)

Utilizator codrin18Diac Eugen Codrin codrin18 Data 26 mai 2016 13:50:08
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:3:1: error: unknown type name ‘using’ using namespace std; ^ user.c:3:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’ using namespace std; ^ user.c: In function ‘main’: user.c:21:5: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] memset(Arb,0,sizeof(Arb)); ^ user.c:21:5: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] user.c:24:13: error: ‘in’ undeclared (first use in this function) freopen(in,"r",stdin); ^ user.c:24:13: note: each undeclared identifier is reported only once for each function it appears in user.c:25:13: error: ‘out’ undeclared (first use in this function) freopen(out,"w",stdout); ^ user.c:27:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ user.c:30:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ user.c:36:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &K); ^ user.c:40:19: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &X, &Y); ^ user.c:46:18: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &X); ^

Ceva nu functioneaza?