Borderou de evaluare (job #1981712)

Utilizator mari2001Maria Ionescu mari2001 Data 16 mai 2017 16:21:40
Problema Secvmin 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:10:16: error: ‘DV’ was not declared in this scope for(int i=0; i<DV; ++i) f[i]=e[i]=-1; ^ user.cpp:5:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secvmin.in","r",stdin); ^ user.cpp:6:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secvmin.out","w",stdout); ^ user.cpp:7:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); ^ user.cpp:8:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i=0; i<n; ++i) scanf("%d",&a[i]); ^ user.cpp:9:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i=0; i<m; ++i) scanf("%d",&b[i]); ^

Ceva nu functioneaza?