Borderou de evaluare (job #1808413)

Utilizator stefanmereutaStefan Mereuta stefanmereuta Data 17 noiembrie 2016 17:51:23
Problema Heapuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void add(int*, int*, int*, int&, int)’: user.cpp:11:5: error: ‘v’ was not declared in this scope v[k] = x; ^ user.cpp: In function ‘void del(int*, int*, int*, int, int)’: user.cpp:35:5: error: expected initializer before ‘while’ while (poz < ) ^ user.cpp: In function ‘int minim(int*)’: user.cpp:39:12: error: ‘v’ was not declared in this scope return v[1]; ^ user.cpp: In function ‘int main()’: user.cpp:50:9: warning: unused variable ‘heap’ [-Wunused-variable] int heap[MAX], numere[MAX], poz[MAX], n = 0, N, cod, x; ^ user.cpp:50:20: warning: unused variable ‘numere’ [-Wunused-variable] int heap[MAX], numere[MAX], poz[MAX], n = 0, N, cod, x; ^ user.cpp:50:33: warning: unused variable ‘poz’ [-Wunused-variable] int heap[MAX], numere[MAX], poz[MAX], n = 0, N, cod, x; ^ user.cpp:50:43: warning: unused variable ‘n’ [-Wunused-variable] int heap[MAX], numere[MAX], poz[MAX], n = 0, N, cod, x; ^ user.cpp: In function ‘int minim(int*)’: user.cpp:40:1: warning: control reaches end of non-void function [-Wreturn-type] } ^

Ceva nu functioneaza?