Borderou de evaluare (job #1640023)
Utilizator | Data | 8 martie 2016 15:22:24 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void tipar(int)’:
user.cpp:9:9: error: ‘g’ was not declared in this scope
g << st[i] << ' ';
^
user.cpp:10:5: error: ‘g’ was not declared in this scope
g << '\n';
^
user.cpp: In function ‘bool valid(int)’:
user.cpp:17:5: error: expected primary-expression before ‘...’ token
...
^
user.cpp:17:5: error: expected ‘;’ before ‘...’ token
user.cpp:16:10: warning: unused variable ‘ev’ [-Wunused-variable]
bool ev = 1; // presupunem ca este valida si demonstram contrariu
^
user.cpp:19:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘bool solutie(int)’:
user.cpp:24:5: error: expected primary-expression before ‘...’ token
...
^
user.cpp:24:5: error: expected ‘;’ before ‘...’ token
user.cpp:25:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void back(int)’:
user.cpp:30:11: error: ‘vi’ was not declared in this scope
for(x=vi; x<=vf; x = x + rel)
^
user.cpp:30:18: error: ‘vf’ was not declared in this scope
for(x=vi; x<=vf; x = x + rel)
^
user.cpp:30:30: error: ‘rel’ was not declared in this scope
for(x=vi; x<=vf; x = x + rel)
^
user.cpp:37:23: warning: the address of ‘bool solutie(int)’ will always evaluate as ‘true’ [-Waddress]
if(solutie) tipar(k);
^
user.cpp:28:12: warning: unused variable ‘ev’ [-Wunused-variable]
int x, ev;
^
user.cpp: In function ‘int main()’:
user.cpp:44:5: error: ‘citim’ was not declared in this scope
citim date
^
user.cpp:44:11: error: expected ‘;’ before ‘date’
citim date
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !