Borderou de evaluare (job #972028)
Utilizator | Data | 10 iulie 2013 20:18:45 | |
---|---|---|---|
Problema | Transport2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:41: error: ‘malloc’ was not declared in this scope
A = (int**) malloc((n+1) * sizeof(int *));
^
user.cpp:28:37: error: ‘calloc’ was not declared in this scope
A[i] = (int *) calloc(1,sizeof(int));
^
user.cpp:37:52: error: ‘realloc’ was not declared in this scope
A[x]=(int*)realloc(A[x],(A[x][0]+1)*sizeof(int));
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !