Borderou de evaluare (job #2443588)

Utilizator gicugAndrei gicug Data 28 iulie 2019 17:27:12
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void print(const Array&, index_t)': main.cpp:58:8: error: invalid operands of types 'FILE* {aka _IO_FILE*}' and '<unresolved overloaded function type>' to binary 'operator<<' fout << std::endl; ~~~~~^~~~~~ main.cpp: In function 'std::pair<std::unique_ptr<unsigned int []>, int> read()': main.cpp:44:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^ main.cpp:47:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &a[i]); ^ Non zero exit status: 1

Ceva nu functioneaza?