Borderou de evaluare (job #3237241)
Utilizator | Data | 7 iulie 2024 13:01:04 | |
---|---|---|---|
Problema | Bool | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:7: error: 'difchar' does not name a type
7 | const difchar=65;
| ^~~~~~~
main.cpp: In function 'bool expresie()':
main.cpp:13:17: error: 'AND' was not declared in this scope
13 | bool ORop = AND();//posib and
| ^~~
main.cpp:13:10: warning: unused variable 'ORop' [-Wunused-variable]
13 | bool ORop = AND();//posib and
| ^~~~
main.cpp:15:1: warning: no return statement in function returning non-void [-Wreturn-type]
15 | }
| ^
main.cpp: In function 'bool AND()':
main.cpp:18:18: error: 'NOT' was not declared in this scope
18 | bool ANDop = NOT();
| ^~~
main.cpp:18:10: warning: unused variable 'ANDop' [-Wunused-variable]
18 | bool ANDop = NOT();
| ^~~~~
main.cpp:19:1: warning: no return statement in function returning non-void [-Wreturn-type]
19 | }
| ^
main.cpp: In function 'bool NOT()':
main.cpp:23:12: warning: comparison with string literal results in unspecified behavior [-Waddress]
23 | if(s[i]=="(")
main.cpp:23:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
main.cpp:28:1: warning: no return statement in function returning non-void [-Wreturn-type]
28 | }
| ^
main.cpp: In function 'int main()':
main.cpp:33:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | for(i=0;i<s.size();i++)
| ~^~~~~~~~~
main.cpp:36:22: error: expected primary-expression before ')' token
36 | if(s[i]!=)
| ^
main.cpp:37:5: error: expected primary-expression before '}' token
37 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !