Borderou de evaluare (job #1392992)
Utilizator | Data | 19 martie 2015 00:23:25 | |
---|---|---|---|
Problema | Alee | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void lee(nod)’:
user.cpp:21:15: error: cannot convert ‘std::queue<_Tp, _Sequence>::empty<nod, std::deque<nod, std::allocator<nod> > >’ from type ‘bool (std::queue<nod>::)()const’ to type ‘bool’
while(!cd.empty)
^
user.cpp:21:15: error: in argument to unary !
user.cpp:34:9: error: ‘c’ was not declared in this scope
c.pop();
^
user.cpp: In function ‘int main()’:
user.cpp:56:44: error: ‘c’ was not declared in this scope
scanf("%d%d%d%d",&ci.l,&ci.c,&cf.l,&cf,c);
^
user.cpp:40:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alee.in","r",stdin);
^
user.cpp:41:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alee.out","w",stdout);
^
user.cpp:42:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:46:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !