Borderou de evaluare (job #2054880)
Utilizator | Data | 2 noiembrie 2017 17:14:02 | |
---|---|---|---|
Problema | Arborest | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int DFS(int)’:
user.cpp:18:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<Graph[node].size();i++)
^
user.cpp:19:28: error: ‘DFS2’ was not declared in this scope
DFS2(Graph[node][i]),Max[node]=max(Max[node],1+Max[Graph[node][i]]);
^
user.cpp: In function ‘int main()’:
user.cpp:38:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d%d",&N,&K);
^
user.cpp:42:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d",&X);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !