Borderou de evaluare (job #3368478)
Raport evaluator
Compilare:
main.cpp: In function 'void spatiu(const std::string&, int&)':
main.cpp:8:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | while (p<s.size() && s[p]==' ') {
| ~^~~~~~~~~
main.cpp: In function 'long long int factor(const std::string&, int&)':
main.cpp:17:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | if (p<s.size() && s[p]=='(') {
| ~^~~~~~~~~
main.cpp:21:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | if (p<s.size() && s[p]==')') {
| ~^~~~~~~~~
main.cpp:26:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | if (p<s.size() && isdigit(s[p])) {
| ~^~~~~~~~~
main.cpp:28:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | while (p<s.size() && isdigit(s[p])) {
| ~^~~~~~~~~
main.cpp: In function 'long long int termen(const std::string&, int&)':
main.cpp:40:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | while (p<s.size() && (s[p]=='*' || s[p]=='/')) {
| ~^~~~~~~~~
main.cpp: In function 'long long int expresie(const std::string&, int&)':
main.cpp:57:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | while (p<s.size() && (s[p]=='+' || s[p]=='-')) {
| ~^~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 10 |
| 2 | 0ms | 303kb | OK | 10 |
| 3 | 0ms | 303kb | OK | 10 |
| 4 | 0ms | 303kb | OK | 10 |
| 5 | 0ms | 303kb | OK | 10 |
| 6 | 0ms | 303kb | OK | 10 |
| 7 | 0ms | 303kb | OK | 10 |
| 8 | 0ms | 303kb | OK | 10 |
| 9 | 0ms | 557kb | OK | 10 |
| 10 | 0ms | 557kb | OK | 10 |
| Punctaj total | 100 |