Borderou de evaluare (job #1808380)
Utilizator | Data | 17 noiembrie 2016 17:27:46 | |
---|---|---|---|
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*, int&, int*)’:
user.cpp:7:13: error: ‘n’ was not declared in this scope
int k = n + 1;
^
user.cpp:9:5: error: ‘v’ was not declared in this scope
v[n + 1] = x;
^
user.cpp: In function ‘void del(int*, int, int, int*, int&, int)’:
user.cpp:29:5: error: expected initializer before ‘while’
while (poz < )
^
user.cpp: In function ‘int minim(int*)’:
user.cpp:33:12: error: ‘v’ was not declared in this scope
return v[1];
^
user.cpp: In function ‘int main()’:
user.cpp:41:9: warning: unused variable ‘heap’ [-Wunused-variable]
int heap[200000], ordine[200000], poz[200000], A[200000], n = 0, N, cod, x;
^
user.cpp:41:23: warning: unused variable ‘ordine’ [-Wunused-variable]
int heap[200000], ordine[200000], poz[200000], A[200000], n = 0, N, cod, x;
^
user.cpp:41:39: warning: unused variable ‘poz’ [-Wunused-variable]
int heap[200000], ordine[200000], poz[200000], A[200000], n = 0, N, cod, x;
^
user.cpp:41:52: warning: unused variable ‘A’ [-Wunused-variable]
int heap[200000], ordine[200000], poz[200000], A[200000], n = 0, N, cod, x;
^
user.cpp:41:63: warning: unused variable ‘n’ [-Wunused-variable]
int heap[200000], ordine[200000], poz[200000], A[200000], n = 0, N, cod, x;
^
user.cpp: In function ‘int minim(int*)’:
user.cpp:34:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !