Borderou de evaluare (job #1330561)

Utilizator handsonthewheelSandel Georgel handsonthewheel Data 30 ianuarie 2015 19:39:26
Problema Cmmmc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void ver()’: user.cpp:36:18: error: ‘swap’ was not declared in this scope swap(sol1,sol2); ^ user.cpp: In function ‘int main()’: user.cpp:87:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("cmmmc.in", "r", stdin); ^ user.cpp:88:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("cmmmc.out", "w", stdout); ^ user.cpp:91:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &k); ^ user.cpp:93:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &ni); ^

Ceva nu functioneaza?