Borderou de evaluare (job #2078779)

Utilizator jurjstyleJurj Andrei jurjstyle Data 29 noiembrie 2017 22:33:48
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘GetPartition’: user.c:89:12: error: ‘true’ undeclared (first use in this function) while (true) ^ user.c:89:12: note: each undeclared identifier is reported only once for each function it appears in user.c:105:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.c: In function ‘print_vector’: user.c:128:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("algsort.out","w",stdout); ^ user.c: In function ‘main’: user.c:140:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("algsort.in", "r", stdin); ^ user.c:142:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.c:147:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^

Ceva nu functioneaza?