Borderou de evaluare (job #2341413)

Utilizator raducostacheRadu Costache raducostache Data 11 februarie 2019 19:57:30
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.c:3:1: error: unknown type name 'using' using namespace std; ^~~~~ main.c:3:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std' using namespace std; ^~~ main.c: In function 'main': main.c:24:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d\n", &n, &q); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:26:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d ", v + i); ^~~~~~~~~~~~~~~~~~~~~~~ main.c:32:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d", &cer, &a); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:34:13: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &b); ^~~~~~~~~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?