Borderou de evaluare (job #3126311)
Utilizator | Data | 6 mai 2023 15:20:41 | |
---|---|---|---|
Problema | Arbori binari de cautare echilibrati | Status | done |
Runda | arhiva-test | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:206:38: warning: multi-line comment [-Wcomment]
206 | return cauta(node->right,x); ///la dreapta daca este mai mare\
| ^
main.cpp: In function 'bool cauta(Node*, int)':
main.cpp:210:1: error: a function-definition is not allowed here before '{' token
210 | {
| ^
main.cpp:232:1: error: a function-definition is not allowed here before '{' token
232 | {
| ^
main.cpp:254:1: error: a function-definition is not allowed here before '{' token
254 | {
| ^
main.cpp:271:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
271 | int main()
| ^~
main.cpp:271:9: note: remove parentheses to default-initialize a variable
271 | int main()
| ^~
| --
main.cpp:271:9: note: or replace parentheses with braces to value-initialize a variable
main.cpp:272:1: error: a function-definition is not allowed here before '{' token
272 | {
| ^
main.cpp:332:2: error: expected '}' at end of input
332 | }
| ^
main.cpp:198:1: note: to match this '{'
198 | {
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !