Borderou de evaluare (job #1947613)
Utilizator | Data | 31 martie 2017 08:41:57 | |
---|---|---|---|
Problema | Treap | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void df(int)’:
user.cpp:24:18: warning: variable ‘ok1’ set but not used [-Wunused-but-set-variable]
bool ok1=0;
^
user.cpp:25:18: warning: variable ‘ok2’ set but not used [-Wunused-but-set-variable]
bool ok2=0;
^
user.cpp:26:18: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable]
bool ok=1;
^
user.cpp:46:16: error: ‘ok’ was not declared in this scope
if(ok && (ok1||ok2) )
^
user.cpp:46:23: error: ‘ok1’ was not declared in this scope
if(ok && (ok1||ok2) )
^
user.cpp:46:28: error: ‘ok2’ was not declared in this scope
if(ok && (ok1||ok2) )
^
user.cpp:52:20: error: ‘ok’ was not declared in this scope
if(ok && ok1 && ok2)d[t]=1;
^
user.cpp:52:26: error: ‘ok1’ was not declared in this scope
if(ok && ok1 && ok2)d[t]=1;
^
user.cpp:52:33: error: ‘ok2’ was not declared in this scope
if(ok && ok1 && ok2)d[t]=1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !