Borderou de evaluare (job #1883070)

Utilizator 1475369147896537415369Andrei Udriste 1475369147896537415369 Data 17 februarie 2017 18:16:27
Problema Radix Sort Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:32:15: error: expected primary-expression before ‘int’ for(v[0] = B, int i = 1; i < N; i++){ ^ user.cpp:32:15: error: expected ‘;’ before ‘int’ user.cpp:32:26: error: ‘i’ was not declared in this scope for(v[0] = B, int i = 1; i < N; i++){ ^ user.cpp:27:36: 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:28:38: 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); ^ user.cpp:30:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &N, &A, &B, &C); ^

Ceva nu functioneaza?