Borderou de evaluare (job #1719145)

Utilizator delia_99Delia Draghici delia_99 Data 19 iunie 2016 12:35:02
Problema Marvel Status done
Runda Algoritmiada 2016 Runda 4 Seniori Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:37: error: size of array ‘bf’ is too large bool ap[NMAX+5],ok,bf[NMAX+5][NMAX+5]; ^ user.cpp: In function ‘void slv(int, int)’: user.cpp:20:8: error: ‘bf’ was not declared in this scope if(bf[node][crt]) ^ user.cpp: In function ‘int main()’: user.cpp:30:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("marvel.in","r",stdin); ^ user.cpp:31:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("marvel.out","w",stdout); ^ user.cpp:33:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&n,&m,&k,&p); ^ user.cpp:36:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&enem[i]); ^ user.cpp:38:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&fnd[i]); ^ user.cpp:42:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a,&b); ^

Ceva nu functioneaza?