Borderou de evaluare (job #2105511)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 13 ianuarie 2018 14:57:03
Problema Ro Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void dfs(int, int)’: user.cpp:87:25: error: ‘ind1’ was not declared in this scope ind1 = mask; ^ user.cpp:91:25: error: ‘ind2’ was not declared in this scope ind2 = mask ^ (1 << pos); ^ user.cpp: In function ‘int main()’: user.cpp:126:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&N,&M); ^ user.cpp:128:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&S[i]); ^ user.cpp:132:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&x,&y); ^

Ceva nu functioneaza?