Borderou de evaluare (job #1789922)

Utilizator nnnmmmcioltan alex nnnmmm Data 27 octombrie 2016 17:16:43
Problema BMatrix 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:43:25: error: ‘INF’ was not declared in this scope int Max=INF; ^ user.cpp:46:40: error: ‘min’ was not declared in this scope Max=min(Max,L[i][j]); ^ user.cpp:46:40: note: suggested alternative: In file included from /usr/include/c++/4.8/algorithm:62:0, from user.cpp:2: /usr/include/c++/4.8/bits/stl_algo.h:4249:5: note: ‘std::min’ min(initializer_list<_Tp> __l, _Compare __comp) ^ user.cpp:66:25: error: ‘INF’ was not declared in this scope int Max=INF; ^ user.cpp:67:31: error: ‘RC’ was not declared in this scope for(int k=j;k+RC[i][j]-1;k++) ^ user.cpp:69:33: error: ‘RL’ was not declared in this scope Max=min(Max,RL[i][j]); ^ user.cpp:69:41: error: ‘min’ was not declared in this scope Max=min(Max,RL[i][j]); ^ user.cpp:69:41: note: suggested alternative: In file included from /usr/include/c++/4.8/algorithm:62:0, from user.cpp:2: /usr/include/c++/4.8/bits/stl_algo.h:4249:5: note: ‘std::min’ min(initializer_list<_Tp> __l, _Compare __comp) ^ user.cpp:16:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%d%d ",&N,&M); ^ user.cpp:20:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%c ",&Ch); ^

Ceva nu functioneaza?