Borderou de evaluare (job #2175029)
Utilizator | Data | 16 martie 2018 14:49:26 | |
---|---|---|---|
Problema | Ciclu Eulerian | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void euler(int)’:
user.cpp:35:21: error: ‘elim’ cannot be used as a function
if(!elim(nod))
^
user.cpp:37:31: error: ‘edege’ was not declared in this scope
int ve=edge[nr].x^edege[nr].y^nod;
^
user.cpp: In function ‘int main()’:
user.cpp:49:23: warning: too many arguments for format [-Wformat-extra-args]
scanf("d %d",&n,&m);
^
user.cpp:54:33: error: ‘push_back’ was not declared in this scope
v[edge[i].y],push_back(i);
^
user.cpp:46:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ciclueuler.in","r",stdin);
^
user.cpp:47:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ciclueuler.out","w",stdout);
^
user.cpp:49:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("d %d",&n,&m);
^
user.cpp:52:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&edge[i].x,&edge[i].y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !