Borderou de evaluare (job #1951904)

Utilizator marinel_serbanMarinel Serban marinel_serban Data 3 aprilie 2017 20:59:57
Problema Aranjare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:33:33: error: ‘swap’ was not declared in this scope swap(C[i], C[ps]); ^ user.cpp:41:33: error: ‘swap’ was not declared in this scope swap(C[i], C[ps]); ^ user.cpp:15:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d\n%s", &N, C+1); ^

Ceva nu functioneaza?