Pagini recente » Borderou de evaluare (job #2336501) | Borderou de evaluare (job #1542506) | Borderou de evaluare (job #1357325) | Borderou de evaluare (job #799834) | Borderou de evaluare (job #3201872)
Borderou de evaluare (job #3201872)
Raport evaluator
Compilare:
main.cpp: In function 'bool isInvalid()':
main.cpp:23:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for (int i = 0; i < s.size(); i++)
| ~~^~~~~~~~~~
main.cpp:37:14: warning: unused variable 'dbg' [-Wunused-variable]
37 | bool dbg = isCif(s[i-1]);
| ^~~
main.cpp: In function 'int suma()':
main.cpp:50:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | while (it < s.size() && s[it] == '+')
| ~~~^~~~~~~~~~
main.cpp: In function 'int produs()':
main.cpp:75:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | while (it < s.size() && s[it] == '*')
| ~~~^~~~~~~~~~
main.cpp:72:9: warning: unused variable 'ways' [-Wunused-variable]
72 | int ways = 0;
| ^~~~
main.cpp: In function 'int term()':
main.cpp:109:1: warning: control reaches end of non-void function [-Wreturn-type]
109 | }
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect | 0 |
Punctaj total | 0 |