Borderou de evaluare (job #1365938)
Utilizator | Data | 28 februarie 2015 17:05:20 | |
---|---|---|---|
Problema | Heapuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void erase(int)’:
user.cpp:96:24: error: ‘apear’ was not declared in this scope
if( son <= lenght && apear[heap[father]] > appear[heap[son]])
^
user.cpp:98:66: error: expected ‘]’ before ‘)’ token
if( son+1 <= lenght && appear[heap[father] > appear[heap[son+1])
^
user.cpp:98:66: error: expected ‘]’ before ‘)’ token
user.cpp: In function ‘int main()’:
user.cpp:32:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d", &nOperations);
^
user.cpp:36:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &type);
^
user.cpp:40:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &value);
^
user.cpp:50:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &value);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !