Borderou de evaluare (job #1460721)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 13 iulie 2015 17:53:21
Problema Bile3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void Solve(int, int, int, int)’: user.cpp:16:29: error: ‘nr’ was not declared in this scope for(int j = nr - 1; j >= 0; j--) ^ user.cpp:23:29: error: ‘nr’ was not declared in this scope for(int j = nr - 1; j >= 0; j--) ^ user.cpp:30:8: error: ‘reversed’ was not declared in this scope if(reversed){ ^ user.cpp:31:14: error: ‘nr’ was not declared in this scope last[nr] = n; ^ user.cpp:36:27: error: ‘nr’ was not declared in this scope genComb(n - 1, k, nr, 0); ^ user.cpp:36:32: error: ‘genComb’ was not declared in this scope genComb(n - 1, k, nr, 0); ^ user.cpp: In function ‘int main()’: user.cpp:43:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bile3.in", "r", stdin); ^ user.cpp:44:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bile3.out", "w", stdout); ^ user.cpp:45:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &k); ^

Ceva nu functioneaza?