Borderou de evaluare (job #2614782)

Utilizator bogdi1bogdan bancuta bogdi1 Data 12 mai 2020 18:05:15
Problema Flux Status done
Runda Arhiva de probleme Compilator cpp-32 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:80:38: error: 'fabs' was not declared in this scope if(fabs(sol[i]-sol[j])>eps) ^ main.cpp:20:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] { freopen("flux.in", "r", stdin); ^ main.cpp:21:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("flux.out", "w", stdout); ^ main.cpp:23:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:28:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &x, &y, &z); ^ Non zero exit status: 1

Ceva nu functioneaza?