Borderou de evaluare (job #1480775)
Utilizator | Data | 3 septembrie 2015 09:39:47 | |
---|---|---|---|
Problema | Fear | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int BF()’:
user.cpp:18:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<G[nod].size();j++) {
^
user.cpp: In function ‘int main()’:
user.cpp:32:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<G[N].size();i++) {
^
user.cpp:33:9: error: ‘nod’ was not declared in this scope
nod=G[N][i];
^
user.cpp:28:84: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fear.in","r",stdin),freopen("fear.out","w",stdout),scanf("%d%d",&N,&M);
^
user.cpp:28:84: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:28:84: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:30:86: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%lf",&x,&y,&z),C[x][y]+=log(z),G[x].push_back(y),G[y].push_back(x);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !