Borderou de evaluare (job #1972556)

Utilizator Alex_AeleneiAlex Aelenei Ioan Alex_Aelenei Data 23 aprilie 2017 12:52:04
Problema Dif2 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:14:24: error: ‘min’ was not declared in this scope mn=min(mn,x); ^ user.cpp:15:24: error: ‘max’ was not declared in this scope mx=max(mx,x); ^ user.cpp:7:13: warning: unused variable ‘j’ [-Wunused-variable] int n,i,j,t,mn,mx,x; ^ user.cpp:8:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&t,&n); ^ user.cpp:13:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^

Ceva nu functioneaza?