Pagini recente » Borderou de evaluare (job #3348722) | Borderou de evaluare (job #3314752) | Borderou de evaluare (job #3316201) | Borderou de evaluare (job #3315071) | Borderou de evaluare (job #3313784)
Borderou de evaluare (job #3313784)
Raport evaluator
Compilare:
main.cpp: In function 'bool expresie()':
main.cpp:26:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | while(ind + 1 < s.size() && s.substr(ind, 2) == "OR")
| ~~~~~~~~^~~~~~~~~~
main.cpp: In function 'bool termen()':
main.cpp:36:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | while(ind + 2 < s.size() && s.substr(ind, 3) == "AND")
| ~~~~~~~~^~~~~~~~~~
main.cpp: In function 'bool factor()':
main.cpp:47:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | while(ind + 2 < s.size() && s.substr(ind, 3) == "NOT")
| ~~~~~~~~^~~~~~~~~~
main.cpp: In function 'bool altcv()':
main.cpp:63:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
63 | else if(ind + 1 >= s.size() || s[ind + 1] > 'Z' || s[ind + 1] < 'A')
| ~~~~~~~~^~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Incorect | 0 |
| 2 | 0ms | 303kb | Incorect | 0 |
| 3 | 0ms | 303kb | Incorect | 0 |
| 4 | 0ms | 303kb | Incorect | 0 |
| 5 | 0ms | 303kb | Incorect | 0 |
| 6 | 0ms | 303kb | Incorect | 0 |
| 7 | 0ms | 303kb | Incorect | 0 |
| 8 | 0ms | 303kb | Incorect | 0 |
| 9 | 0ms | 303kb | Incorect | 0 |
| 10 | 0ms | 303kb | OK | 10 |
| Punctaj total | 10 |