Borderou de evaluare (job #1518188)
Utilizator | Data | 5 noiembrie 2015 18:10:52 | |
---|---|---|---|
Problema | Curcubeu | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void update(int, int, int)’:
user.cpp:9:16: error: ‘n’ was not declared in this scope
if(node >= n)
^
user.cpp:17:30: error: ‘n’ was not declared in this scope
if((node << 1) + 1 < n)
^
user.cpp:19:24: error: ‘n’ was not declared in this scope
if(node << 1 < n)
^
user.cpp: In function ‘int main()’:
user.cpp:43:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("curcubeu.in", "r", stdin);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !