Borderou de evaluare (job #2470907)

Utilizator andreic06Andrei Calota andreic06 Data 9 octombrie 2019 21:02:56
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:9:25: error: ISO C++ forbids declaration of 'father' with no type [-fpermissive] inline father ( int poz ){ ^ main.cpp:13:27: error: ISO C++ forbids declaration of 'left_son' with no type [-fpermissive] inline left_son ( int poz ){ ^ main.cpp:17:28: error: ISO C++ forbids declaration of 'right_son' with no type [-fpermissive] inline right_son ( int poz ){ ^ main.cpp: In function 'int main()': main.cpp:51:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ( "algsort.in", "r", stdin ); ^ main.cpp:52:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ( "algsort.out", "w", stdout ); ^ main.cpp:57:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ( "%d", &n ); ^ main.cpp:60:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ( "%d", &Heap[i] ); ^ Non zero exit status: 1

Ceva nu functioneaza?