Borderou de evaluare (job #1750917)

Utilizator AplayLazar Laurentiu Aplay Data 31 august 2016 14:22:31
Problema Radix Sort Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:10:16: error: expected initializer before ‘numbers’ int N, A, B, C numbers[NMAX], tNumbers[NMAX]; ^ user.cpp: In function ‘void radixSort()’: user.cpp:34:23: error: ‘numbers’ was not declared in this scope countSort(numbers, tNumbers, it); ^ user.cpp:34:32: error: ‘tNumbers’ was not declared in this scope countSort(numbers, tNumbers, it); ^ user.cpp:36:23: error: ‘tNumbers’ was not declared in this scope countSort(tNumbers, numbers, it); ^ user.cpp:36:33: error: ‘numbers’ was not declared in this scope countSort(tNumbers, numbers, it); ^ user.cpp: In function ‘int main()’: user.cpp:45:36: error: ‘C’ was not declared in this scope scanf("%d%d%d%d", &N, &A, &B, &C); ^ user.cpp:47:5: error: ‘numbers’ was not declared in this scope numbers[0] = B; ^ user.cpp:42:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("radixsort.in", "r", stdin); ^ user.cpp:43:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("radixsort.out", "w", stdout); ^

Ceva nu functioneaza?