Borderou de evaluare (job #2227075)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 31 iulie 2018 09:59:00
Problema Cele mai apropiate puncte din plan Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:46:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d%d",&X[i].first,&X[i].second); ^ user.cpp:46:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:50:40: error: ‘sqrt’ was not declared in this scope double val=sqrt(double(getmin(0,N))); ^ user.cpp:42:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&N); ^ user.cpp:46:50: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&X[i].first,&X[i].second); ^

Ceva nu functioneaza?