Borderou de evaluare (job #2172524)
Utilizator | Data | 15 martie 2018 16:52:23 | |
---|---|---|---|
Problema | Desen | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int _find(int)’:
user.cpp:24:13: error: ‘x’ was not declared in this scope
while(p[x]!=x)
^
user.cpp:26:12: error: ‘x’ was not declared in this scope
return x;
^
user.cpp: In function ‘double kruskal(int)’:
user.cpp:65:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(temp.size()>=l-1)
^
user.cpp: In function ‘int main()’:
user.cpp:81:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("desen.in","r",stdin);
^
user.cpp:82:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("desen.out","w",stdout);
^
user.cpp:84:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:87:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&v[i].x,&v[i].y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !