Borderou de evaluare (job #2963260)
Utilizator | Data | 10 ianuarie 2023 17:28:29 | |
---|---|---|---|
Problema | Expr | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool cautarebin(std::vector<int>, int)':
main.cpp:29:9: error: 'else' without a previous 'if'
29 | else
| ^~~~
main.cpp: In function 'std::vector<int> intersectie(std::vector<int>, std::vector<int>)':
main.cpp:37:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for (int i = 0; i < a.size(); i++) {
| ~~^~~~~~~~~~
main.cpp:42:12: error: 'A' was not declared in this scope
42 | return A;
| ^
main.cpp: In function 'std::vector<int> runiune(std::vector<int>, std::vector<int>)':
main.cpp:47:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for (int i = 0; i < b.size(); i++) {
| ~~^~~~~~~~~~
main.cpp: In function 'std::vector<int> diferenta(std::vector<int>, std::vector<int>)':
main.cpp:57:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | for(int i = 0; i < a.size(); i++){
| ~~^~~~~~~~~~
main.cpp: In function 'std::vector<int> difsim()':
main.cpp:69:9: error: 's' was not declared in this scope
69 | if (s[poz] == '(')
| ^
main.cpp: In function 'std::vector<int> Eval()':
main.cpp:98:22: error: 'multime' was not declared in this scope; did you mean 'mktime'?
98 | vector <int> v = multime();
| ^~~~~~~
| mktime
main.cpp:99:12: error: 's' was not declared in this scope
99 | while (s[poz] == '*' || s[poz] == '+' || s[poz] == '-' || s[poz] == '%')
| ^
main.cpp:112:17: error: 'V' was not declared in this scope
112 | V = reuniune(v, aux);
| ^
main.cpp:112:21: error: 'reuniune' was not declared in this scope; did you mean 'runiune'?
112 | V = reuniune(v, aux);
| ^~~~~~~~
| runiune
main.cpp:118:17: error: 'V' was not declared in this scope
118 | V = diferenta(v, aux);
| ^
main.cpp:124:32: error: 'a' was not declared in this scope; did you mean 'a2'?
124 | a1 = diferenta(a, aux);
| ^
| a2
main.cpp:126:21: error: 'reuniune' was not declared in this scope; did you mean 'runiune'?
126 | v = reuniune(a1, a2);
| ^~~~~~~~
| runiune
main.cpp: At global scope:
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !